When you suspect that you have herpes, you need to get tested as soon as possible and let your doctor know on time. He may recommend an antiviral drug in out to break outbreak during the time of childbirth