Advice Please!??

Anyone knows if I can get pregnant while smoking I also have epilepsy and take medication for it but I have been seizure free for 9 1/2 months 🙏🏼 I am due a neurologist appointment soon and my neurologist said the medication I’m on is safe to get pregnant on with