Windows now comes with (for free) "Microsoft Defender Antivirus." You can buy additional antivirus software but I never have and I've never gotten a virus. Also, it may be less common but it is still possible for a chromebook to get a virus or be a victim of malware. The best protection is common sense, don't download weird links, pirated software, etc. and don't download attachments in emails from unknown parties...