To diagnose migraine headaches and develop a treatment plan, your pain management specialist reviews your medical history and symptoms. They complete physical and neurological examinations and might recommend you undergo a CT scan or MRI to detect or rule out specific medical problems.