Psychodynamic theory posits that anxiety is often the result of opposing unconscious wishes or fears that manifest via maladaptive defense mechanisms (such as suppression, repression, anticipation, regression, somatization, passive aggression, dissociation) that develop to adapt to problems with early objects (e.g., caregivers) and empathic failures in childhood. For example, persistent parental discouragement of anger may result in repression/suppression of angry feelings which manifests as gastrointestinal distress (somatization) when provoked by another while the anger remains unconscious and outside the individual's awareness. Such conflicts can be targets for successful treatment with psychodynamic therapy. While psychodynamic therapy tends to explore the underlying roots of anxiety, cognitive behavioral therapy has also been shown to be a successful treatment for anxiety by altering irrational thoughts and unwanted behaviors.

As with most behavioral illnesses, the causes of panic attacks are many. Certainly there is evidence that the tendency to have panic attacks can sometimes be inherited. However, there is also evidence that panic may be a learned response and that the attacks can be initiated in otherwise healthy people simply given the right set of circumstances. Research into the causes of panic attacks is ongoing.
Another important prevention strategy for anxiety is to incorporate exercise into your daily activities. Exercise has been shown to decrease stress hormones that influence anxiety and also improve overall mood. Exercise can also help you disengage from worry and stress and focus on the current task of exercising. Exercises such as light jogging or brisk walking that can be incorporated into your daily activities can help reduce the impact of anxiety when it occurs.
There are many highly effective treatment options available for anxiety and anxiety-related disorders. These treatments can be broadly categorized as: 1) Psychotherapy; 2) Medications; and 3) Complementary and Alternative Therapies. Patients diagnosed with anxiety can benefit from one or a combination of these various therapies. Discussions of emerging therapies and types of care providers are also included.
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]
Separation anxiety disorder: Separation anxiety is often thought of as something that only children deal with; however, adults can also be diagnosed with separation anxiety disorder. People who have separation anxiety disorder have fears about being parted from people to whom they are attached. They often worry that some sort of harm or something untoward will happen to their attachment figures while they are separated. This fear leads them to avoid being separated from their attachment figures and to avoid being alone. People with separation anxiety may have nightmares about being separated from attachment figures or experience physical symptoms when separation occurs or is anticipated.