. . "Narcotics, such as codeine, are sometimes used for people who can not take triptans or ergots; however, they can cause dependency and rebound headaches." . .