Extinction is applied by identifying and then withholding the reinforcement that sustains an undesired behavior. For example, if a child throws tantrums to gain attention, the application of extinction would involve the caregiver systematically ignoring the tantrums. Over time, the child learns that the tantrums no longer yield the desired outcome (attention) and the behavior diminishes.