Is this herpes? Kinda concerned

I have had an intense and deep itch for a week or so and it had some patches but I’m not sure if they were sores or not. I have also been feeling ill and coughing. The doctor looked and said it was herpes but I am not too sure she prescribed valtrex and the itch is almost gone on day 2 and the patches are healing.