Panic attacks and anxiety over eating

I have had anxiety and suffered from panic attacks for 4-5 years now on and off and recently i was at a semi good point then fell again. I think this is mainly due to eating. It’s not that I don’t like eating it the fact that I always feel sick and anxious after it. Up till a few days again, I would be absolutely fine eating at home however I would barley eat any thing and usually nothing if I wasn’t at home, preventing me from doing a lot. This also happens in school, I will try and eat a bag of crisps and maybe something chocolatey but still I would have to go to the toilets so that no one would see me having a panic attack ( this would happen 3/5 a week) But over the last 2 days or so I have even found it tricky to eat at home, feeling sick or having a panic attack after anything I eat incase I was sick or the feeling would never go away. The only reason I was still eating is because I have to to keep healthy ( I have a fear of becoming ill)and my fear of hospitals are even greater and I wouldnt wanna even come close to becoming at that stage. It prevents me from going out, seeing my friends, going on holiday with my mum and dad and sister and all they want for me is to be happy. So does anyone else get this problem of not wanting to eat but if you do you will feel sick everytime but if you don’t you are scared of becoming ill ( this is also the same for drinking). Any advice or opinions because it’s beginning to rewin my teen life!