Just copy the following code and paste it in notepad
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
and save this by giving any name
if your antivirus was working properly it will detect it
and will ask you to delete it
if not then you must review your antivirus to save your data