Oseltamivir, sold under the brand name Tamiflu among others, is an antiviral medication used to treat and prevent influenza A and influenza B, viruses that cause the flu.