A break up is not just a heart ache it is a loss of self esteem at being dumped by another. It is a situation where you feel demeaned because someone has fallen out of love with you and you just cannot stomach this. To learn how to deal with a break up you have to come to terms with it logically.
Just like two people meet and find themselves attracted to each other, it is also possible that this attraction dies down and slowly disappears. This finally leads to a break up and you have to learn how to deal with a break up. Imagine life with someone who has stopped caring or for whom you have no love left. This would be a pretty difficult way of life and there would be no sharing or joy in it. It is much better to learn to clear your mind of all the old cobwebs and move on to greener pastures where you might find a person who shares your interests and is more in love with you and willing to give you much more than your ex, this is a good thought to show you that you have to move on and find a new life for yourself.
To learn how to deal with a break up start looking forward to life and hoping for something startling and exciting to happen to you. Try not to dwell on the past and do not keep reliving moments which you enjoyed with your ex. Instead think of what led to this break up and you will be half way though learning how to manage without the person you have left. Be kind to yourself and tell yourself that you deserve something better and that this is what you are looking ahead for and this thought will show you that there is more to life than punishing yourself with a person who is not good for you.