Capsaicin
Capsaicinoids are added to food to make it have a hot taste, but it can also be used as an analgesic, a painkiller. Such painkillers are often directly used on the skin. The burning of the capsaicin will mask the real pain. Capsaicin is also the main agent in pepper spray.