In your mind, put him in his place. Remember, he just a guy, and no one is worth all that fuss.
The first couple of days are normal to feel a lot of different feelings, but in the end, you just have to accept that he doesn't want to be with you anymore.
The answer to your question will come naturally, because it has to, there is no other way.
Ive had my heart broke before too, I think everyone has, the fact is that you do eventally get over it, in time.
To use this analogy:
This problem has buried you alive, you look, all you see is dirt, you think your going to die. Little to you realize, your only buried in about 2 inches of dirt. All you really have to do is sit up, and stand tall. Your only six feet under when you are dead.