Epididymis Infection & Infertility?

When my husband was 17 (now 34) he had acute epididymitis caused by some random strain of bacteria. It cleared up with medication quickly. Fast forward to now and we’ve been trying to get pregnant for 2 years. Wondering if this infection long ago could be causing this issue. Anyone have a similar experience?