What is antiviral medication/treatment? Antiviral medications help the body fight off harmful viruses. They can help ease your symptoms and shorten the length of a viral infection.