The old advice to FTOW, right ;) I've found that just having random sex with a bunch of women doesn't help much, but if I develop a strong emotional connection with another woman, it helps me forget about past relationships.
Also, just focus on developing your life. Channel the emotional...