I had my first panic attack several months back. It was awful, and more than likely due to my stress levels and (a good guess) too much caffeine.
The thing is, it took me months to get back to normal after the attack. I suddenly felt very vulnerable.
I cut energy drinks out after the panic attack. Who knows, they might've spawned it. Most energy drinks are pretty unhealthy anyway. I replaced them with coffee, tea, and Vitamin B3 supplements.