Having one seizure does not necessarily mean that you have epilepsy.
However, you'll have to follow your state’s rules about how long you must be seizure-free before you're allowed to drive a car again, even if you have only had one seizure.
Your doctor can diagnose your seizure and help you learn if and when you are able to drive again.