The cognitive strategy of focusing attention on stimuli other than pain or negative emotions that accompany pain.