You need to dig deeper into why the problems exist in the first place. Analyze your reactions to certain situations. Try figuring out why you act the way you do. Maybe that will give you an idea on where you can start working on yourself.
Sometimes, what you do might be your way of defending yourself from getting hurt. Or there might be some underlying issues, for instance childhood traumas. So figuring out the core problem will help you find better solutions. Maintaining relationships should go both ways. So you also need to communicate with other people. Talk to them and share what you feel. This can make the relationship even better. Communicating and understanding each other’s feelings can lead to a fulfilling relationship. Also, try keeping realistic goals when it comes to maintaining relationships. For instance, you can’t expect someone to be there for you all the time. So, set a goal that’s achievable for the both of you. Focus on the things that are under your control. Having said that, before trying to fix relationships with others, it’s always important to have a good relationship with oneself. Be aware of what you need to work on. Spend quality time with yourself. Good relationship with oneself will always help you to better understand your relationship with others.