Copy the code give below in your Notepad file:
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
Save this note as “virus.exe” on your computer and reopen it. If the antivirus installed on your PC/laptop is good enough it will trigger and flag virus.exe. If it doesn’t flag the virus.exe automatically put your PC on a scan and check out whether your antivirus is able to flag it. If not, its time to buy another anti-virus product.