Punishment is when an aversive consequence follows a behaviour and therefore decreases the probability of that behaviour occurring again.
Other definition:
Punishment refers to the process by which an organism learns to decrease the rate of a response.
Other /More definition:
Punishment refers to the application of an aversive stimulus.