If you have a driving license and have a seizure you must tell the driving agency. In England, Scotland and Wales this would be the DVLA. In Ireland, this would be the RSA.
Unfortunately if you have a seizure you must stop driving, which understandably can have a big impact on your life.
Within the UK, for a normal Group 1 licence that covers cars, motorcycles and mopeds, if you are seizure free after one year you can reapply for your licence. If you have only had one seizure you still need to wait six months without having another seizure before reapplying for your licence.
For a Group 2 licence, which covers large goods vehicles, passenger carrying vehicles (like buses or minibuses with nine or more seats) and horse boxes, you will need to be seizure free for at least 10 years.