I got dumped after a year..

I don't eat, I don't sleep, well I eat when I force myself. And I sleep when my body is so exhausted. I constantly feel like crap. I've lost my two best friends in the same time I lost the person who was supposed to love me...how do I cope with this? 😭💔