When to seek infertility treatment with different circumstances like previous infection?

Male or female. Previous infections, especially the mumps can affect sperm count. For women, previous infections can block the fallopian tubes, either leading to no pregnancy or a very dangerous condition of the pregnancy in the tube called an ectopic pregnancy.