A diagnosis of epilepsy may be made when a person has a seizure more than once because of a brain disorder or injury.