Heartache is awful but it's something that most people have experienced, unfortunately.
I remember when an ex of mine broke up with me suddenly one day, it knocked me for six. I felt I couldn't eat, couldn't do anything. The worst was at night, I would lie there just thinking and it would eat me up and I barely slept. Horrible horrible horrible.
I never thought I'd get over it. I honestly thought this was it, I'd feel like this forever. Time does heal though, even though I didn't believe it then! You need lots of time and you will one day wake up and realise you haven't thought about him at all - It's so refreshing when that happens.
No contact I think is so important. If you're still texting or whatnot then he's always 'there', his name will still come up on your phone and it doesn't give you a chance to have some space, work out your feelings and most importantly, to actually start to recover from the break up. You need that time to focus on yourself.
Social media is the devil after a break up. I remember constantly checking my ex's facebook/twitter/Instagram. Half of me was worried he'd found someone else, the other half just wanted to look at photos of him and cry. It felt bloody awful, like I was a prisoner to it. I ended up deactivating for a while as it was driving me crazy. 
Thankfully it's been 18 months since the split so I'm feeling better but it does take time.
Is there anything you can focus on? A project? Exercise? A new hobby? All these can help you progress and take your mind off it all.