I recently have been butting heads with my psychiatrist about this a bit. I was convinced that I may have an underlying issue to my anxiety that my meds were just "masking". For context I find that my anxiety is closely related to my gut health, and the fact that a lot of medications mess around with gut health always bothered me. After keeping track of my diet for a while I've noticed that I am very likely lactose intolerant, and am probably gluten intolerant as well. I cut both bread and dairy out of my diet for the last couple of weeks and started to feel a lot better (initially I cut dairy out and saw some improvement but I still had problems, that's when I decided to cut out gluten as well and saw even more improvement). Then last night eating dinner with my parents I all of a sudden feel my anxiety start to spike and start feeling really unwell. Turns out what we were eating was breaded with a thin layer of flour to give it a nice crisp coating. Going to be making a doctor appointment with a GP to confirm my suspicions.  


If you're struggling with anxiety and it seems to randomly flare up I highly recommend you examine what you're putting into your body that might be causing problems for you. Whether it's processed sugar, caffeine, dairy, gluten, excessive amounts of salt/fats, or something else, keeping track of your body's fuel might help give you some answers. It's probably not going to be a cure all for you, but it might help smooth things out and make your life a bit easier.