I don't get panic attacks but I can get some pretty significant bouts of anxiety. I think it's probably related to an inherent tendency towards that in addition to an addiction to coffee and a wandering mind.
Few things fix me up right away like a hard workout, cycling in particular.