How did you learn to truly quit caring what other people think and quit comparing yourself to others?

What are the best tips for achieving this, especially as a young person who feels under a lot of pressure? I'm thinking the first step is deleting social media.
How did you learn to truly quit caring what other people think and quit comparing yourself to others?
Post Opinion