You can go back to factory default settings:
Open the Avast GUI > Settings > Troubleshooting > Factory Default > Reset Now. Reboot.
Then if you want to add exclusions for any security software, like firewall, other resident programs if needed, you can do so.