If you think you get migraine headaches, talk with your doctor. Your doctor may do a questionnaire and ask more questions about your health history. This could include past head injury and sinus or dental problems. Your doctor may diagnose migraine just from the information you provide. You may get a blood test or other tests, such as a CT scan or MRI, if your doctor thinks that something else is causing your headaches.