How to stop being afraid of other people’s opinions?

I don’t know how to explain.I've always been afraid of what other people think and I was afraid of doing or saying the wrong thing in public. And sometimes I get so fixated on it that I can bring myself to a panic attack. To be honest, I have problems at university because of it.This bothers me.