TW: Throwing up, public places

Hi everyone, my day consists of sitting home, barely eating and when I go to the closest store, I grab some things, quickly pay, awkwardly run home and when I get home I throw up.
I can't go to school because I am scared I will be sick the whole time. And I can't go to the doctors because of the same thing. Plus public transport is a hellish place, I can't even think about going to.
Is it bad? Or how am I supposed to live like this?