If we are talking about the windows defender, sometimes it automatically gets on and doesn't allow the suspicious application to run. In that case, you have to check from time to time. The best thing you can do is as @FADHII KHAN said on his above post.