honestly it depends on the child the situation. for example if your child touches something dangerous like the stove and plug many parents will smack the child's hand to let them know that it's something they must not touch.

but spanking does not work for every child. some children get spanked everyday and still act like a fool while other children won't even dare doing whatever they did bad again.

i personally can count the number of times i was spanked on one hand. my parents only spanked me when i did something really bad and had been warned numerous times about.