Hey monalisa090,
I must agree with joshhar09 in is warning to be careful.
What you are experiencing are chronic panic attacks, due to your anxiety. I would say that the overload of caffeine from all of the coffee and energy drinks triggered the process. Because of all of the stimulant in your blood, your body overreacted to a stressor that would normally only cause an anxiety reaction. Since this episode, anything that reminds you, subconsciously or consciously, of what caused your initial panic attack is going to cause subsequent panic attacks. This necessarily isn't the caffeine; the caffeine was nothing more than a catalyst. There is something in your environment that is causing you to have this reaction, either someone you are with, a place, or something else. My suggestion is to start taking St. John's Wort to help curb the feelings of panic and hopefully bring them down to a more suitable level. If you are sexually active and the pill was your only method of birth control then I would strongly recommend going back on them to mitigate the risk of unintended pregnancy (an unintended pregnancy would only elevate your anxiety again). You can get through this, you just need to give yourself some time, surround yourself with friends and family who love and support you, and try to get yourself back to a happy medium.
Hope this helps,
-Mel