I assume you are using Windows, but you didn't say which OS version

If so, boot up your system into the Safe Mode list of options, and either log into Windows and uninstall Avast, or try the "Last known good configuration" from that list.

Mark