Spanking, hand smacking etc. is both useful and effective when the child is not yet old enough to comprehend reasons not to do whatever they just did.
After that, it is ineffective and damaging to the parent-child relationship.
After that, it is ineffective and damaging to the parent-child relationship.