How can I stop anxious attachment and learn to love myself in relationships?

I had a really bad upbringing my parents were getting divorced and fighting over custody. For many years of my childhood. We don’t have any pictures of when we were younger maybe like 5 or 6 it never used to affect me but as I get older and experience life I find it starts to affect me. In my relationships. I don’t know how to not be anxious and be my own person and love who I am when I get into a relationship. I’m focus is always on them and if they like me and if other girls are prettier then me. I’m tired of being like that and I’m not gonna put the full blame on me because if I was with the right man he’d calm those things I suffer with. How do I love me in a relationship and not become anxiously attached? I still live with my mom and I wanna move out so bad and start really living and I feel stuck cuz I’m in hair school right now I feel like I can’t do anything? But I know it’s temporary I’m just really not patient
How can I stop anxious attachment and learn to love myself in relationships?
Post Opinion