Agoraphobia occurs when a person is afraid of open places or situations from which they cannot flee. Someone suffering from agoraphobia may be afraid of being stranded outside their home or in a huge crowd. Some persons who suffer from agoraphobia are afraid that they may have a panic attack or a medical emergency and will be unable to receive treatment or flee.