The last time I had my heart broken, I had to focus on myself (the time as i discovered stoicism). At first you begin to think about the mistakes you have made, but in the end its a consensus of two parties. Try to implement the good things you learned in the relationship and analyze the mistakes.
Try to keep your heart wide and open - be always yourself, dont disguise as a different person.
I have no fear for coming or not coming relationships - i live and love my life. It's nice to be alone, equally it can be wonderful to share time together and build something. 😊