If napagalitan mo man sya, talk to him right after so you could explain the reason why you did that. Pero let the child understand that you are not mad, you only want what is best for him. Despite all the emotions, let the child feel that you love him and you don't want to get mad at him so you would also want him not to do those things that will make you feel mad.
Magbasa pa