If diet pills regulate the digestive system, they will generally not affect endocrine, and you can get pregnant after stopping taking drugs for half a year. The reason why diet pills can lead to infertility is because the ingredients of diet pills affect women's endocrine. If you are not obese, I suggest you lose weight naturally through proper diet and physical exercise.