I'm really sorry to hear this! My boyfriend broke up with me a month ago and at first it was really hard all I focused on was getting him back and that was the worst thing I could of done. The best thing I did was cry. I cried a lot and it was the first time I had ever cried in front of my family. I just kept talking about it and saying how I felt and eventually the tears have started falling less. Its a very slow process unfortunately. I think the best thing to do would be to surround yourself with people, go out and have fun, try to laugh and smile but don't be afraid to burst out crying in a public place, its completely fine to do that.
I think this is a really good opportunity to look after and care for yourself. There may of been a few things you missed out on because you was with him so, if you can, do those things. Learn to be on your own again. You'll probably text him and try to get hold of him and you'll regret it. I just think that you need to do whatever you want. Just make sure if you do get in touch with him he doesn't hurt you anymore than he has.
Hold your head high, shout to the world that he hurt you but show everyone that you can come back fighting!