Hsv + possible preeclampsia

I'm currently having an ob and i just started my meds Friday im not due until next month but im still nervous of my baby catching it can i just opt out for a c section. Ig im trying to see if anyone has gone through this and gave birth successfully vaginally. I know everyone is different