Waiting for the whacky FReepers to lecture us about how it’s always wrong to hit a kid.
If the child is hitting you, it is self defence. If the child is not hitting you but you are hitting the child, it is assault.