Punishment
A process in which a behavior is followed by a stimulus change that decreases the future frequency of that behavior under similar conditions. Like reinforcement, it is defined by its effect on behavior, not by anyone's intent or by how unpleasant the consequence seems.
Example
A toddler touches a cactus, gets pricked and stops touching cactuses.