The brain is very controlled most of the time.
Specific conditions can set off excessive brain activity that can result in an epileptic event. Focal regions of the brain may be injured and produce a chronic focus of irritation. Genetic conditions can set off generalized bursts of abnormal activity within the brain. Medications can help the brain regain control. Other methods may also help.