After a brain injury due to an accident or a stroke, your brain tries to repair itself by making new wiring. Scarring of the brain can also occur. If the new wiring is abnormal, it could cause seizures.