I can’t eat, I can’t sleep.

It’s been 3 days since my boyfriend broke up with me. He texted me yesterday saying he was wrong and doesn’t want it to end and then wanted to come see me and I wasn’t home and his whole mind set changed and said ya know what take time to yourself I’ll talk to you in a few weeks. I just i don’t know what to do. I’m so emotional. He was my life. I cant eat or sleep. I try and eat and I just throw up, I try and sleep and I just physically can’t. I don’t know what to do heartbreak is the worst pain.