Headaches and migraines require a correct diagnosis before you can get the right treatment. Your doctor will ask you questions about your health history and your headache history to determine the cause of your headaches. Tell your doctor if you've ever been treated for headaches in the past, what medications you've taken in the past (both prescribed and over the counter), and what medications you're taking today. You should also bring any X-rays and other imaging scans you've had for headaches. You may be able to avoid unnecessary tests that way. After the doctor has collected background information and medical history, they will conduct physical and neurological exams to produce a diagnosis of the headache. They will look for symptoms of fever, infection, abnormality in breathing, blood pressure, or pulse, mental confusion, excessive fatigue, nausea, vomiting, and more. Headaches and migraines may also be caused by diseases of the brain or nerves. Neurological tests can rule these out. In most cases, headaches turn out to be benign. Some tests suggest that physical or structural abnormalities in the brain may cause headaches, according to some tests. Depending on the results of the doctor’s examination, laboratory tests may be ordered. Blood chemistry and urinalysis, CT scans, MRIs, sinus X-rays, EEGs, spinal taps, and eye exams may all be helpful in diagnosing specific types of headaches.