if they steal something from the mall then escort them back to the mall and make them pay for/return it.If the most I had to worry about after something like cursing out a teacher is extra homework, then I'm not too worried. That's all fine for something small, but what about if your kid steals something from the mall? If they bully someone at school? It they get in a fight?
If they bully someone at school then take away privileges/make the kid apologize to the parents/victim and try other things fi that doesn't work. (btw, where do you think the child learned to bully?)
If they get into a fight, then punish them in any of the ways listed. There are literally an infinite amount of possibilities to choose from that doesn't involve putting your hands on them or physically abusing the kid. Solving violence with more violence is never the answer.