Piroxicam (Feldene) -- can cause stomach upset and bleeding, and raise risk of heart problems Rarely, if your headaches are very severe and nothing else relieves the pain, your physician may consider prescribing narcotics such as codeine plus acetaminophen (Tylenol with Codeine No. 3) or hydrocodone with acetaminophen (Vicodin).