Early treatment of headache