Anxiety Support Group
Anxiety is a physical condition marked by intense and persistent feelings of distress, fear, angst or dread. General anxiety caused by routine day-to-day stresses usually passes quickly and is experienced by almost everyone at one time or another. However, such feelings that linger over time and are very difficult to cope with, and which lack a clear cause, may indicate...

You are stronger than you realize, since you were able to see it was a panic attack.
That sounds kinda like what my shrinks have called, "Intrusive Thoughts." I kinda like that name for ^it^. By whatever name, in my own case, the phenom can daisy chain to the Outer Limits and? ? ? Dunno if I've completed the return trip yet, but hopefully that is to the Outer Limits and Back.
Somehow the panic attacks seem like a natural by-product of my mind jumping from bananas to malignant tumors at the speed of a neural pulse. All too often, it really does feel like my physical senses are jumping with that neural pulse. ^It^ remains a WTF moment for me, every time. Radical acceptance has made it easier to ply therapy tools to my intrusive thoughts and their unfortunate side effects, but I still wish for a cure often enough to try Snake Oil every now and again.
Maybe try to nail down your triggers and work on changing your reaction to them. Try not to google your symptoms for a while, read into the anxiety instead and it's causes, maybe that can refocus your energy.