Try to remember you are doing this just for fun. It's not life or death, it's not your livelihood. Your ego is simply trying to protect itself from what it sees as a threat. Many schools, before a tournament, do a little simulation as prep. The have the black belts sit as a panel, and students sit and watch, and have you come up and do your form as you would competing, bowing in & all. Likewise sparring can be done that way, too, with corner judges, etc. Hopefully your school does this, too. As you get more experience with it, you won't be so nervous, just like any kind of performing.