I had to quit three jobs because of panic attacks. Now I work from home because I find work-environments too stressful. I don't get panic attacks so much if I am not in a formal working environment.