Just saying something did not work without providing details isn't exactly helpful/useful.
What OS/SP ?
What exact version of avast ?
Any other security (related) software installed ? (or was there)
Anything in the avast log files ?
What part of avast is causing the problem ? (e.g. what shield, firewall, setting)
etc.