I’m devastated....

I’m currently 16w5d pregnant and got the call today that I tested posted for HSV1 genital.. they explained that at 36 weeks I’ll take Valtrex to prevent a outbreak during delivery. I have so many questions running through my head.. my SO made the comment a week ago if I have it and gave him something that me or our child would not hear from him again. I’m sick to my stomach I’m disappointed and honestly kind of disgusted with myself.. I’ve read that if I got this during pregnancy it was ten time more dangerous than if I had it before. But I’m not sure how long I’ve had it? I’m worried about my baby.. I’m worried it’s spread to the baby. On top of all this, I’m finding out what I’m having today and I feel like it put a downer on our special day. So many things running through my head, I’m just so heartbroken.