Does baloxavir (Xofluza) prevent COVID-19 infection? No, baloxavir cannot prevent COVID-19. Oseltamivir is a medication used to prevent influenza and treat patients with influenza infection.