Valtrex during pregnancy??

8 months pregnant and feel a cold sore starting. Did anyone take Valtrex during pregnancy? It’s just the one day, two dose prescription.