Agoraphobia usually starts after you have a panic attack in a certain place or situation. You may try to avoid that place or situation to prevent panic attacks. This can make your worrying worse and increase your chance of having a panic attack.