Migraines are diagnosed by a neurologist. The doctor will ask about your history experiencing headaches, your family history, and symptoms about the pain, for example what the pain feels like, where your head hurts, and what preceded the attack. A full physical exam will be conducted to explore underlying reasons for the pain. An MRI or CT scan may be used to rule out factors such as a tumor or brain damage. After a diagnosis, the doctor and patient will begin to develop a treatment plan.