When you find yourself thinking about her, focus on the reasons for the fight and other problems in the relationship, and think about a relationship (with someone else in the future) which you would actually want that would be healthy and good. Work on making yourself as much a good healthy match for that next relationship.