I had a great boss (founder of the company) who said, after I just screwed up, "There is not a mistake you can make, that I haven't already made. Just don't make the same mistake twice."
"Sir beg my pardon for asking but why did you give Smith 50 press-ups for asking a question? You said that there were no stupid questions. Sir."
"I gave him the press-ups the SECOND time he asked. Will you need to ask again?"
The IRL takeaway is that if you don't open your mouth, you don't get punished. If you do open your mouth, you might get punished.