Barbiturate and nonsteroidal antinflammatory drug (NSAID) combinations are used to treat tension headaches. These medications work by combining a barbiturate, which helps to relax your brain, with an NSAID that reduces inflammation and pain. Caffeine may also be included to enhance pain relief. These combinations are usually available in oral form. Examples include butalbital / aspirin / caffeine (Lanorinal).