Antiviral drugs function through various mechanisms. Some block the virus's ability to enter or exit host cells, while others inhibit viral replication once inside the cell. For example, neuraminidase inhibitors like oseltamivir (Tamiflu) prevent the release of new viral particles from infected cells, and protease inhibitors used in HIV treatment block the viral enzyme required for replication.