An analgesic is a painkiller. Arthur Dent took a buffered analgesic he found in his dressing gown pocket along with a piece of fluff on the morning of Earth's destruction. That particular analgesic contained 12 mg of codeine and 120 mg of acetaminophen.
It helped him get rid of his hangover.
The analgesic appeared in the Hitchhiker's game.