Argh
Sorry to hear you had a bad panic attack. Please remember, the information you received from the ER physician does not take the place of your own Dr. Your own physician is always your best bet because he or she knows you so please follow up with your Dr.
Also, do read some of the great info in our resource thread at the top of this page as you will find lots of ideas for learning how to deal with anxiety.