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