Valtrex tablets are used for the treatment of genital herpes infection. Valtrex tablets work by stopping the multiplication of the virus which causes herpes. They can reduce the length and severity of an outbreak of herpes, the duration of pain and shorten the time to healing of crusts associated with herpes.