Everyone talks about learning lessons from your past so that you don’t repeat your mistakes, but you ought to also learn from your past in a positive way.
What did you like the most about your exes? What attracted you in a way that wouldn’t wane no matter how bad the relationship got? What did your exes do to make you happy? What were the reasons you wanted to stay with your ex? What kept you there when the going got tough?
Look for those same qualities in your next mate… and then of course remember the lessons you learned about from your past relationships which contributed to their demise (i.e. the negative stuff) and keep those things in mind as well.