Most Helpful Guy
This is the 'trick' I used after my breakup, and it might work for you as well.
Just push out the 'happy' thoughts about him, and fill your mind only with the 'nasty' stuff he did. Whenever you think of him, consciously think ONLY about the bad memories you have about him. After a while, you'll realize that you aren't really thinking too much about him!