aversive stimulus

noun

1.
any negative stimulus to which an organism will learn to make a response that avoids it