A painkiller is a medicine that eases one's pain.
Doctor Beverly Crusher gave Jean-Luc Picard a painkiller when he was experiencing an unknown form of pain when Daimon Bok returned his previous command starship, the USS Stargazer. (TNG: "The Battle")