Then you need to stop allowing yourself to be used. Stop putting yourself in these situations.
If it's such an issue for you, at some point you need to learn from your mistakes... You need to live your life for you and stop sweating the small stuff! It's really not worth it, in 15 years you don't want to look back and realise how much time you wasted on over thinking every little situation.