Other message sending means
There are other means to send message than physical puhisment. One commonly used method is discussing the issue with the child and making them to understand the bad consequences of their actions to the other person. This teaches them not to solve problems with violance.