Enable Microsoft Defender antivirus

The steps to enable Microsoft Defender antivirus in the Windows Security app are as follows:
1.Search for "Security" in the Start menu and select "Windows Security" to open the Windows Security app.
2.Select the "Virus & threat protection" tile (or the protection icon on the left menu bar).
3.Choose "Virus & threat protection settings".
4.Toggle "Real-time protection" to "On".