Self-medicating chronic headaches can be dangerous