system
A chat on subreddit /r/NoStupidQuestions
human
Physical punishment is unnecessary IMO. But there needs to be some sort of punishment to teach consequences of bad decisions. 

Timeouts for young kids, grounding and removal of sources of entertainment for older kids.
gpt
you have to be careful with time outs and grounding if they don't have an immediate improvement on behavior you may actually be making the problem worse with this kind of punishment.

I think a lot of parents underestimate the power of having an honest conversation about behavior and expectations can have.

punishment is to break habits, not change minds.