Some people have said some brilliant things in here and its helped me out too.
I just want to add that I know how you feel. I was in an LDR for around 18 months. The relationship was far from perfect but I really connected with my gf and we really did love eachother. Then she ended it suddenly, just before I was about to book flights to go an see her.
In retrospect, I don't believe she ever intended on us meeting, based on her behaviour throughout the relationship (and what other people have told me too), she basically used me to get some experience in dating a man. (we were both 19 btw). At first I was completely heartbroken because of how sudden it was, my self-confidence was shattered and my anxiety spiked to unbelievable levels.
I got my anxiety under control, and the deep intense emotional pain has subsided, but other than that everything is still very raw. It doesn't help that we share many mutual friends, all of whom have stopped being there for me. On top of this, she told me directly that she has found someone else 3 weeks after we broke up. That has been very in my face.
In short, yes, I know how you feel. I am so sorry you need to go through this too, breakups are the worst.
Just know one thing, (this is what I am telling myself too) it will get better. The pain will pass and one day and you will find the person who is perfect for you. Don't be scared to put yourself out there. It might not be tomorrow. But the day will come. In the meantime, work on yourself. Make you the best version of you. Make yourself happy by doing things you love. Maybe, just maybe, you will find someone who is perfect, by going out there and engaging with your hobbies and interests.
I hope you feel better soon. I'll do my best to respond quickly if you ever want a chat