VALACYCLOVIR is an antiviral medicine. It is used to treat or prevent infections caused by certain kinds of viruses. Examples of these infections include herpes and shingles. This medicine will not cure herpes.