Disaplin

How many people slap there kids legs and bums when there in trouble as my partner does it and I totaly disagree with it ??? Advice please