The exact cause of NTDs is not known, but a B vitamin called folate (or folic acid) may help if taken just before pregnancy and during the first few weeks.