Just think of me when you start to feel nervous about something.
when節の中で about to を使っても大丈夫ですよ。この場合、私なら次のように言います。
ーRemember me when you're about to feel panicky.
「パニックになりそうな時は、私のことを思い出して」
または次のような言い方ができます。
ーJust think of me when you start to feel nervous about something.
「何かに緊張し始めたら、私のことを考えて」
to feel nervous で「緊張する」
ご参考まで!
Whenever you're feeling like you're having a panic attack, just think of me.
ご質問ありがとうございます。
この場合、相手に「[パニック](https://eikaiwa.dmm.com/uknow/questions/69444/)になりそうな時は、私のことを思い出して」と言いたいなら、英語で「Whenever you're feeling like you're having a panic attack, just think of me.」という風に言えます。
ご参考になれば幸いです。