re avast results

after avast scan there are files showing errors how do i fix errors or is it done automatically

Not all the “errors” are infected files.
The default action of Avast is send the infection to Chest (Quarantine).