[header] How to prevent an anxiety attack before it hits you [title] Think positive thoughts about the situation to calm yourself down. [step] This is called' tricking your brain'. Panic is often the result of the way we perceive a situation, rather than the actual situation. 
If a situation is making you feel like an attack might be due at any moment, try to look at the situation differently. To think positively : [substeps] Concentrate as hard as you can on pushing aside the worrisome thoughts and picture something calming.