Many patients who have agoraphobia have it as a result of a panic disorder. Agoraphobia is a fear of places or situations where a panic attack may occur. People with agoraphobia avoid being out alone, going to supermarkets, travelling in trains and planes, being at heights, in elevators or tunnels or crossing open fields, Many patients even experience panic when they are asleep.