Punishment:

Reinforcement that is aimed at reducing undesirable behavior by associating that behavior with a painful consequence.