Genital Herpes

I’m 21 weeks pregnant and have an outbreak. I’m getting prescribed acyclovir.. anyone has experience with this? Is my pregnancy going to be okay?