A few things you could try in averting panic.
Consciously slow your breathing and try to do so at a rate where you're spending a little more time exhaling than inhaling. This, to give carbon dioxide a chance to build back up in your system. (Personally, I prefer to do this while lying in bed because once the hyperventilating has set in, I generally just can't get a handle on my breathing if I'm upright at all.)
Repeating short coping statements to yourself:
- "I'm having a panic attack. It's intense, but it'll pass."
- "I've survived a panic attack before. I'll survive this one too."
- "Breathe first. Think Later."
You could try rocking back and forth as you're sitting. Or any movement you can repeat in place, slowly, with rhythm. This kind of action, meant towards trying to physically calm your nervous system.
'Cold shock' or 'ice shock' can help towards interrupting racing thoughts and triggering your vagus nerve (which in turn helps calm your nervous system). Splash water on your face. Hold an ice pack in your hands. Place something cold on the back of your neck. Some people may suggest a cold shower... I can't say I've ever tried that, at least not for panic symptoms.
Pet your dog. If your dog is the type that would allow it, try cuddling up to them as pets can have a natural calming effect (assuming you're a 'dog person', of course).
Looking longer term, if you have access to an accommodating doctor and are confident you can control your usage, an as-needed prescription for Ativan would probably be appropriate for someone in your situation.
I must be so fucking awful to be around.
Going beyond the immediacy of a panic attack, I would try reframing this along the lines of... Well, anything that discerns between,
"I must be so fucking awful to be around," and "
Other people sometimes have a hard time navigating my outward symptoms." That's probably not the most ideal way for me to put it, but the idea is to keep perspective as far as discerning between your illness and 'who you are'. ("You are not your mental health condition.")
Also on that note, the population as a whole would ideally demonstrate more tolerance of mental illness and more willingness to understand it. When you're feeling "so awful to be around," try reminding yourself that if there was less stigma and more awareness on a population level, then you probably wouldn't be feeling so isolated right now. This, again towards distancing yourself from the "awful" label.