Anxiety can occur as a generalized anxiety disorder as well as be a part of the symptoms of other mental health conditions such as phobias, PTSD, depression, obsessions and compulsions, and panic attacks.