Medically, a seizure in a plane is little different from on the ground, except for the cabin altitude. It would like having one in Salt lake City, for example.
The flight doesn't necessary have to land. Flights crews are trained for such events. The Captain consults with medical experts on the ground regarding the pasenger's condition, availability of medical facilities. etc. Often, the flight continues normally. Having a doctor or trained EMT on board helps.