Humans are social creatures - so we can't ignore other people's opinions completely.
Meanwhile, paying too much attention to what others have to say about you isn't healthy either, so you should eventually stop doing it.
Here are a few tips from a real psychologist on how to make your own opinions about yourself matter more.
Believe in yourself and your decisions. Know that you're valuable just as you are.
Concentrate on your own goals and what makes you happy, rather than seeking approval from others.
Remember that nobody is perfect, and that's okay. Embrace your flaws and learn from them.
Replace negative thoughts with positive ones. Tell yourself you're doing your best and that's what matters.
Spend time with people who support and appreciate you for who you are. Avoid those who bring you down.
Learn to say "no" when necessary. Don't overcommit to please others if it's not in your best interest.
Practice being present in the moment. Focus on what you're doing rather than worrying about what others might think.
Ultimately, it's your life to live, and you should make choices that make you happy, not just to please others.
You can sometimes ask for other people's advice, but you should never base your life on someone's approval - your life is yours, after all.