How do people get a seizure?

i get seizures myself and well people get them by playing like a viedo game for a long time or you don't eat right that's how i get them