In this case, the child was beaten, but not badly. Since the child was beaten, it should be that the child did something wrong. Ask first, "Do you know the mistake? Will this mistake be made again? "
Then apologize to the child. "What you have done is wrong. Dad was very angry. Let's communicate first next time. Will you forgive dad? "
Next time you encounter something angry, first suppress your anger and restrain your emotions; Communicate well and communicate with your heart.