Hsv-1 genital gproblem!

So I’ve been sick with the flu last week and I felt like it was triggering an outbreak.. so I took Valtrex before and outbreak even started... should I be okay? Or is the virus still very contagious right now?