After 9 Years...Genital Warts

My husband and I have been together for 9 years. A week ago, for the first time, he saw these little bumps on his penis and was diagnosed with Herpies! I am currently 8 months pregnant, and I have NOT contracted it from him over the years. The doctor said it's probably from an old partner and many people have them without ever knowing (never have breakouts). I'm so scared how this will effect our marriage. I'm terrified to get them now and I'm scared I won't want to be sexually active, or if I am, it'll be in the back of my mind forever now...