It is ideal if you can stop smoking at least four months before getting pregnant but stopping at any point really helps.