Can epilepsy medicine affect a pregnancy?

Medicine and pregnan. Yes, medicines for epilepsy (anticonvulsants) carry with them a risk of birth defects. The safest medicines are lamotrigine and levetiracetam, the worst (most risky) medicine to take during pregnancy is valproate. There is also risk of having a seizure during pregnancy. Often some kind of medicine is a good idea, if it is needed, to prevent seizures during pregnancy.