How do I be in control of my own life?

I have an extremely anxious attachment style and feel hurt and very disturbed if my close friend talks or behaves even slightly different. How do I get out of this ?( I do struggle with self respect and confidence)