Herpes

Is there anyone on here who was diagnosed with herpes prior to pregnancy? I was myself and really haven't had many issues at all since finding out but I seem to be having my first outbreak "down there" and I'm at 7 weeks. My doctor prescribed the standard acyclovir knowing that I am pregnant but I'm just terrified to be taking medication. So worried I could miscarry or something. Has anyone else been in this situation? If you've taken the medication how did things go? Any advice would be appreciated.