Barbiturate-opioid-acetaminophen combinations are used to treat tension headaches, migraines, and moderate to severe pain. They also have other uses, such as managing certain types of chronic pain. These medications work by combining the effects of a barbiturate, an opioid, and acetaminophen to relieve pain, reduce fever, and relax muscles. Some of these medications also contain caffeine to enhance pain relief. These combinations are typically available in oral forms, such as tablets or capsules. Examples include butalbital/acetaminophen/caffeine/codeine (Fioricet with Codeine). You can choose the form that best fits your needs.