File system shield

I have a problem with the file system shield in avast.Lets say that the shield detects infected files.I go into history and see the infected files.You can’t delete the files,so now what?How do I delete the files that are detected by file system shield?