If you’re playing an instrument in front of an audience, performance anxiety will usually make things much worse than if you had practiced in private.
In my personal experience, both with musical performance and public speaking, the #1 thing that makes a difference in terms of how nervous I am during the performance is how well I know the material. The more I can "shut off my brain" and let rote memory handle the basics (correctness), the more room I have to take it further with nuance, dramatic arc, etc.
https://abcnews.go.com/Health/michael-jordan-kobe-bryants-me...
https://www.linkedin.com/business/learning/blog/productivity...