Follow these steps if you are having a panic attack at work:
If you are in public, immediately leave your work station and find a private room you can sit in. If you need to make an excuse then just say you need to use the bathroom.
Once you are in a private area, focus on controlling your breathing. Try to take long, deep breaths through your nose, and let your stomach expand. Then breathe out slowly through your mouth. Continue doing this until your symptoms improve.
Splash some cold water on your face and back of your neck.
Remind yourself repeatedly in your head or out loud that the attack will pass and everything will be okay.
Counter any thoughts that might be causing the attack.
Repeat steps 1-5 as many times as you need to until you feel your anxiety levels lower to a normal state.
Once the panic attack is over, congratulate yourself. Recognize how that satisfaction makes your body feel. Remember that feeling.
Head home if you need to. Your health is more important than trying to tough it out the rest of the day and get more work done.