What helped with your trust issues?

Working on my own self esteem. Its lead me to make better choices about who I let in to my life to begin with but also gives me the consolation that even if someone does betray me, I’ll be okay in the end. I rely more on myself for emotional validation than I do from others.