First you take it a day at a time. spend time with yourself, get to know yourself again, your likes, your dislikes. Surround yourself with positive people, take time to reflect on the good and the bad of the past relationship. give yourself time to mend between relationships, dont go rushing into anything. Take this time for YOU. Good luck
One step at a time.