Doctors divide agoraphobia into two types: with panic attacks and without panic attacks. Treatment is generally similar.