Can't eat

I have bad anxiety/panic attacks, often during a bad spell I end up unable to eat. I'm hungry and need the energy for work but whenever I try to eat I have a bad panic attack that has me feeling like I'm allergic to something I know I'm not allergic to. Any tips on over coming this, I don't want to pass out at work or something...