Thank you for posting your query.
seems to be of generalized type, as you have loss of consciousness
during the seizure
You should avoid driving and swimming, as any seizure during those activities may be dangerous for you and others.
Good control of seizures can be achieved with correct medications and proper dose.
MRI scan of brain and EEG tests are useful in deciding the correct drug.
Please discuss these issues with your neurologist
Wishing you good health,
Dr Sudhir Kumar MD DM (Neurology)