STDs and pregnancy

If I just recently found out that I have a STI is still ok for me to try and conceive?

The STI is herpes.