There are many reasons why Avast is not working properly on your system.
issue with the Windows firewall
If you have any other harmful software and files then Delete that softwares from your system
Delete the registry entries
Reboot OS
Run AVAST REPAIR
Try to install avast from the start.
Read More:- https://cleanersuite.com/avast-firewall-wont-start/