I have a question

So I was diagnosed with genital herpes over a year ago. I plan on having kids soon. My question is, I haven’t had a outbreak since then, and say I don’t have one by the time I deliver the baby. Would they still do a c-section? Even with out having an outbreak could it still transfer to the baby if I had delivered vaginally?