Fioricet is a prescription pain medication used to treat tension headaches; it contains a combination of acetaminophen and butalbital, and caffeine and is a pain reliever and fever reducer; therefore, it relaxes muscle contractions involved in a tension headache.