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.
Self-Confidence
Believe in yourself and your decisions. Know that you're valuable just as you are.
Focus on Your Goals
Concentrate on your own goals and what makes you happy, rather than seeking approval from others.
Accept Imperfection
Remember that nobody is perfect, and that's okay. Embrace your flaws and learn from them.
Positive Self-Talk
Replace negative thoughts with positive ones. Tell yourself you're doing your best and that's what matters.
Surround Yourself Well
Spend time with people who support and appreciate you for who you are. Avoid those who bring you down.
Set Boundaries
Learn to say "no" when necessary. Don't overcommit to please others if it's not in your best interest.
Mindfulness
Practice being present in the moment. Focus on what you're doing rather than worrying about what others might think.
Remember, It's Your Life
Ultimately, it's your life to live, and you should make choices that make you happy, not just to please others.
Conclusion
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.