counterirritant

kaʊnt(ə)rˈɪrɪt(ə)nt

noun

something such as heat or an ointment that is used to produce surface irritation of the skin, thereby counteracting underlying pain or discomfort.