Antiviral drugs function through various mechanisms. Some block the virus from entering host cells, while others inhibit the virus's ability to replicate its genetic material. There are also antivirals that prevent the assembly and release of new viral particles. The primary goal is to reduce the viral load, thereby limiting the severity and duration of the infection.