Beating a child is not necessarily the best way to punish him or her.