Fix your self-esteem. I mean truly heal your wounds, and that doesn't not mean with unfulfilling external things such as validation and social status.

Best ways? Meditation, CBT, Exposure therapy