Herpes virus nucleoside analogues are used to treat cold sores, genital herpes, and shingles. They also have other uses, such as managing chickenpox. These medications work by stopping the herpes virus from multiplying in your body, which helps to reduce symptoms and speed up healing. You can find these medications in different forms, including oral pills, topical creams, and ointments. Examples include valacyclovir (Valtrex), acyclovir (Zovirax), famciclovir, and penciclovir (Denavir). Depending on your condition, you and your prescriber can choose the form that best fits your needs.