Me too. I've been to my fair share of psychologists and psychiatrists for depression and anxiety issues.
I was planning on changing my Major to Psychology because it's so interesting to learn but I ended up choosing not to after all.
First just try to ID the trigger. Sometimes they happen subconsciously so you don't realize it. But if you write down everything you remember seeing, smelling, feeling, hearing and thinking at the moment of each attack over a long period of time, you might be able to identify the constant in each attack.