my avast firewall is not working how can I fix that?
Try first a repair.
Proceed as if you are going to uninstall Avast! normally though Windows Add/remove programs (or programs and features, depending on which widows you have), but choose "repair from the drop-down menu when it appears.