Agoraphobia is an irrational fear of being trapped in places or situations where escape could be difficult or impossible. People with agoraphobia often will not leave the house. It often occurs in association with panic disorder . In this case, the affected people may fear that help will not be available in certain places in case a panic attack occurs.