Focus on yourself, yes! Learn to love yourself! Do daily affirmations , meditations, do things that bring you joy and happiness, remove toxic people from your life. Set your intentions and let them go. we teach others how to love us, if we don't love ourselves, focus on us, do things that make us happy, how is anyone else supposed to?
Don't be upset with yourself, take it as a lesson learned. We can't learn unless we go through things and experience them ourselves. I learned a long time ago i can only rely on myself. When people needed me i was always there, when i needed them, it was a ghost town. And that made me realize that i can only bring happiness and love into my life.
Do a little bit each day, and increase it slowly, when you're there you'll know. just remember never to let that go even with a new partner. Always take time to focus on you and your needs too <3