Pregnancy after STD

Has anyone had an STD they didn't know about for awhile, got treated and then had a successful Pregnancy? Got an STD from an ex, had it for a month or more without knowing, got treated right away after finding out, but now have been trying for baby for over 5 years.. All doctors say that that's not why I haven't conceived yet, but am really unsure..