If you are having severe panic attacks
xanax is a more effective medication than
klonopin. They are both benzos. Klonopin is good for anxiety, but xanax is much faster acting and usually prescribed more for the actual panic attacks.
I am a militant hater of all benzos after being addicted to them for over 25 years. It nearly killed me (literally) when I got off them. You really need to watch it taking these medications. They are designed for very short term use only.
I suggest you work on some other means to relax. Whether it be exercise, biofeedback or any number of relaxation techniques. You're asking for trouble using benzos for much longer than a month or so. Not judging, just telling it like it is. God bless.