Prudence is essential, with some analytical tools including Clam AntiVirus.

On my Linux boxes, I occasionally do

clamscan -r 2>&1 | tee clamscan.log

Windows: Back in 2015 I was paying for my annual anti-malware subscription with Kaspersky Lab. After that I decided to just rely on Windows Security app.