Panic attacks can occur due to number of disorders including panic disorder, social anxiety disorder, post traumatic stress disorder, drug use disorder, depression, and medical problems.[2][4] They can either be triggered or occur unexpectedly.[2] Smoking, caffeine, and psychological stress increase the risk of having a panic attack.[2] Before diagnosis, conditions that produce similar symptoms should be ruled out, such as hyperthyroidism, hyperparathyroidism, heart disease, lung disease, and drug use.[2]
Yes. There are many medications that have FDA approval to treat anxiety disorders. Several members of the benzodiazepine class are routinely used to provide relief from anxiety. These minor tranquillizers are safe and effective, but should be used for short-term relief. They have many side effects, including drowsiness, and can be habit forming at higher doses. People taking these medications should not use heavy machinery or drive until they understand how the medication might affect them.
[2]DISCLAIMER: Because each body is somewhat chemically unique, and because each person will have a unique mix of symptoms and underlying factors, recovery results may vary. Variances can occur for many reasons, including due to the severity of the condition, the ability of the person to apply the recovery concepts, and the commitment to making behavioral change.
Psychotherapy. A type of psychotherapy called cognitive behavioral therapy (CBT) is especially useful as a first-line treatment for panic disorder. CBT teaches you different ways of thinking, behaving, and reacting to the feelings that come on with a panic attack. The attacks can begin to disappear once you learn to react differently to the physical sensations of anxiety and fear that occur during panic attacks.
Medications options for panic attacks typically include benzodiazepines and antidepressants. Benzodiazepines are being prescribed less often because of their potential side effects, such as dependence, fatigue, slurred speech, and memory loss.[57] Antidepressant treatments for panic attacks include selective serotonin reuptake inhibitors (SSRIs), serotonin noradrenaline reuptake inhibitors (SNRIs), tricyclic antidepressants (TCAs), and MAO inhibitors (MAOIs). SSRIs in particular tend to be the first drug treatment used to treat panic attacks. Selective serotonin reuptake inhibitors (SSRIs) and tricyclic antidepressants appear similar for short-term efficacy.[58] SSRIs carry a relatively low risk due to the fact that they are not associated with much of a tolerance or dependence, and are difficult to overdose with. TCAs are similar to SSRIs in their many advantages, but come with more common side effects such as weight gain and cognitive disturbances. They are also easier to overdose on. MAOIs are generally suggested for patients who have not responded to other forms of treatment.[59]

People with panic disorder often worry about when the next attack will happen and actively try to prevent future attacks by avoiding places, situations, or behaviors they associate with panic attacks. Worry about panic attacks, and the effort spent trying to avoid attacks, cause significant problems in various areas of the person’s life, including the development of agoraphobia (see below).