Agoraphobia is often comorbid with panic disorder — meaning people often suffer from both conditions at the same time. It's an intense fear of not being able to escape whatever place you're in, and can often lead to an avoidance of leaving the house. People with agoraphobia can fear situations where this anxiety might flare up, and typically don't feel comfortable or safe in public, crowded places. 
• Understand their distorted views of life stressors, such as other people's behavior or life events • Learn to decrease their sense of helplessness by recognizing and replacing panic-causing thoughts  • Learn stress management and relaxation techniques to help when symptoms occur • Practice systematic desensitization and exposure therapy, in which they are asked to relax, then imagine the things that cause the anxiety, working from the least fearful to the most fearful. Gradual exposure to the real-life situation also has been used with success to help people overcome their fears.
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).