If you think that the children sitting in the class are all Allah’s creature.
If you are kind to them Allah will be kind to you.
If you forgive them Allah will forgive you.
These two thoughts will control your anger.
Allah Pak loves those who control the anger.
Kids are innocents.
When we were kids we also made mistakes so give them allowance.
Read Quran-e-Pak daily with translation and pray for yourself.