In operant conditioning, the stimulus is an event that occurs before the behavior and the response is the behavior itself. The consequences of the response (reinforcement or punishment) influence whether or not the behavior is likely to reoccur. The stimulus and response are under the control of the experimenter, not the animal.