You have to work on your ability to forgive and forget. People tend to be able to forgive others even for a break in trust. Also work on the ability to value a friendship so much that you are willing to trust another person or look past their indiscretions. When you value their friendship, you can talk about your concerns rather than walk away. You cannot look to people and say you hurt me when really you are reacting to old hurts. That isn't fair. If you learn to talk about your fears you will also have healthier relationships that don't end so quickly. Everyone has faults; you have to allow for that.
If this has been helpful press accept