Fioricet is a combination medication prescribed for the treatment of tension headaches and migraine headaches.