You probably will do something wrong, but you learn from it and get better. It's not a big deal. Failure is a part of the process!
Honestly this video just goes to show, no matter how much time we spend in the gym, everyone does dumb shit!
Just laugh it off and get back to work. Or swat at the bar like that will change the fact that you just smoked your head on the squat bar! And then of course look to see how many people noticed!