punish

To hurt someone because they have not obeyed the rules. To hurt or to cause trouble for someone for the wrong things that they have done. And to teach that person not to do wrong things again.