Hsv1 genitally valtrex

This is my first ever breakout, I didn’t even know I had it. My doctor prescribed me valtrex and it has helped the peeing but I’ve seen conflicting ways on how to take it. Doctor told me 1 pill twice a day for 5 days. I have 4 sores. I’m on day 3 and feel slightly better but not 100. I guess my confusion is I’ve seen people say 7 or 10 days or even two pills at once every 24 hours. Any advice would be appreciated. Also don’t judge I’m new here!