This is taken from webmd: Your risk for panic attacks and panic disorder may be higher if you:
Have a family history of panic disorder. You are also at increased risk if you have a parent with either depression or bipolar disorder.
Have other conditions associated with panic disorder or panic attacks, such as depression.
Drink alcohol, use illegal drugs, chain-smoke cigarettes, or drink large amounts of coffee or other caffeinated beverages.
Take medicines known to trigger panic attacks, such as those used to treat asthma or heart problems.
Have mitral valve prolapse. This is a heart condition in which one of the valves in the heart doesn’t close as it should.
Have had previous, unexpected panic attacks.
Here’s the link-
http://www.webmd.com/anxiety-panic/tc/panic-attacks-and-panic-disorder-what-increases-your-risk
Hope it helps, might want to check side effects of your medicine