You can follow the directions here:
http://www.avast.com/uninstall-utility
Or you can disable the Self Protection Module in Avast.
See attachment below. And them remove Avast in Control Panel, Programs and Features, just like you uninstall any other program.