To be diagnosed with agoraphobia, you must meet the following conditions:  You worry about being in specific places or situations that you cannot easily leave. You worry about being in places or situations in which you have had a panic attack.