Famvir is an antiviral drug. It slows the growth and spread of the herpes virus so that the body can fight off the infection.