How do you do relationships again?

P

I just broke up with my partner of 5 years. We've been through a lot. We've had a lot of bad times. I feel like I just want to be single for the rest of my life. I just feel like it will be lonely. My family is in another state. I dont have friends. Im not very good at making friends. And i cant go through the vulnerabilty and giving my all to someone again. Has anyone felt like this? Like you'd just want to be single for the rest of your life.