Do you mean friendships or partner type relationships or all of the above?
I know I do. But, I'm working on it.
I hate to put it in these terms because it makes it seem like I'm using people as a part of my own personal experiment, but the only way to learn how to navigate through it all is to get out there and start connecting with people, and learning as you go. If you make a mistake, learn from it and avoid doing the same thing again in the future.
But then there's the flip side of this, too. The fact that not everyone is going to be the right kind of person for us. That is, not only do we have to be good at managing our side of the relationship, but we also need to know when it really IS on the other person. This part was a shock to me as I was so accustomed to taking the full blame for anything and everything that had gone wrong between myself and another person.
But now I have a list of things that are unacceptable to me, and I do not hesitate to walk away from these types of people. It took awhile before I could realize that doing so was NOT self sabotage. It was standing up for my own wants/needs and doing what was right for ME! But, I still get people who tell me my standards are too high because I don't put up with addicts of any kind, liars, fakes, etc, etc, etc..... I rather have standards than continue to be a doormat. Its a fine balance between knowing self sabotage vs ending things for the right reasons.