Self Sabotage

How do I genuinely stop trying to assassinate my own relationships? I have friendships that are finally making me happy after losing so many, but...