Automatic punishment
Punishment that occurs without another person delivering it: the behavior itself directly produces a consequence that decreases its future frequency.
Example
Biting into pizza straight from the oven burns the tongue, and the person bites into hot pizza less often afterward.