Seizures are episodes of uncontrolled and abnormal firing of brain cells that may cause changes in attention or behavior. Epilepsy occurs when permanent changes in the brain cause it to be too excitable or irritable. As a result, the brain sends out abnormal signals. This leads to repeated, unpredictable seizures. Epilepsy may be due to a medical condition or injury that affects the brain.