NTDs happen within the first few weeks of pregnancy, often before a woman finds out she is pregnant. For folic acid to help prevent NTDs, a woman must:  Start taking it at least one month before becoming pregnant. Continue taking it throughout the pregnancy.