Spanking is the final solution, if everything you have tried does not work.
It stops bad behavior Doesn’t always cure it