You are having shingles
also called herpes zoster
It is a viral disease caused by VZV virus.
Your doctor is right.
But along with valcyclovir, you also take ashort course of steroid in tappering dose to prevent post herpetic neuralgia
Pain killer like ketorolac
may be taken.
You do not worry, it will be healed within few weeks.
Relapse of H Z is rare and occurs only in immunocompromised persons.
I hope you got my answer.
Dr. Ilyas Patel MD