Folic acid

Have any of you been told by your doctor to take folic acid pills and feel like it made a difference in getting pregnant/making a pregnancy last?