One day, while the Prophet, peace be upon him, was sitting down, there came to him Umm Qays bint Muhsin with her newborn in order that the Prophet would chew some date and rub therewith the soft palate of the child for blessings (Tahnik), and pray for him.
The Prophet took him and placed him on his lap. It was not long before the baby urinated in the lap of the Prophet and made his garment wet. All the Prophet did then was to call for some water and spray over the affected area of his garment, and that was the end of the matter. (al-Bukhari)
He did not become angry or frown. So why should we torture ourselves by making a mountain out of a molehill? Not everything that happens to us must be to our liking 100%.
Some people cannot control their nerves and magnify the situation, including some parents and teachers.
Do not gather dust upon yourself when the dust is settled. But when the dusts have risen, then cover your nose with your sleeve and continue to enjoy your life.
"Enjoy Your Life"- Muhammad 'Abd Al-Rahaman Al-"Arifi, pp. 291-293