Don’t worry, your life isn’t over! This is all just part of your journey. It wasn’t meant to be with him, and I’m sure you learned a lot and have a lot of happy memories that will stay with you forever.
I think it would be wise not to rush into another relationship. You can still have children way into your 30s, and I would argue that the older you have them the more equipped with life experience you are to raise them in a healthy environment.
Take some time for yourself, and keep yourself busy. Do what you love, take up some classes or learn an instrument. It’s an amazing way to keep your mind active, and you never know you could meet someone there.
Also, there are so many children who dot have homes or loving parents. Adoption is an amazing way to start a family and provide them with a better chance at life.
Good luck with everything, and remember life isn’t a race. We can’t map it out, or compare our experiences to anyone else’s because we are all unique.