By default, Windows Defender automatically enables cloud-based protection, sample submission, and real-time protection. You can go to Settings > Update & Security > Windows Defender > Open Windows Defender Security Center. Then, click Settings > Virus & threat protection settings to check these settings.