The doctor may also request a brain scan in order to see structures inside your brain. Examples of brain scans are MRI and CT scans. These allow the doctor to diagnose things like tumors, stroke, bleeding, brain malformations or cysts, which could be causing your epilepsy.