I'm Extremely Afraid of judgement

My lack of confidence stems from me being afraid of judgement. Anytime I do something, I worry a lot about what people are going to say/think about me. For example I am very good at basketball but when I play with other people and there are spectators, I feel very anxious and I end up making a fool out of myself and I end feeling shitty for the rest of the day.This came with a constant feeling of the need to be liked by everyone (people pleasing what many people might call it). people may say just be confident or don't care about what people think but it's not that easy.

How do I go about fixing this or are there step I can take towards improving my confidence.