Sometimes when I think about my horrible past relationships I think of them as 'a bad movie that I saw' or 'a terrible book that I once read'. That way I choose not to relive it because it was rotten and a waste of time, energy, money, etc.
I would rather be in the now and be happy.