Seizures are symptoms related to a problem with the brain. Sudden abnormal electric activity in the brain can cause seizures. There can be various different reasons for having a seizure, including fevers, head injury, diseases of the brain like epilepsy
etc. And sometimes, no cause is identified. In addition, there can be several different types of seizures depending on whether just a specific area of the brain or the whole brain is involved.
Most seizures last anywhere from seconds to minutes and are benign. However, sometimes, seizures can last longer than 5 minutes, in which case, it is a medical emergency. Not waking up after having a seizure is also dangerous. Most seizures will stop by themselves however.
You should make an appointment to see your primary care doctor
to get a referral to see a neurologist
for this problem especially since this is the first time this has happened to you. Generally, once you see a neurologist, a detailed history of the episode will be taken, including your past medical history, and medications. A physical exam and testing will be done to rule out diseases that can cause your symptoms and may include blood tests, a CT scan or other testing.