See your doctor urgently if you have a sudden severe headache along with fever, neck stiffness, confusion, seizures, loss of consciousness, or head injury. Also see a doctor for new onset chronic headaches.