Some questions to be answered:

  1. What Windows OS you have? What Service Pack is installed? Is your Windows OS up-to-date?
  2. What firewall you have?
  3. Previous antivirus prior to using Avast?
  4. After uninstalling the previous antivirus via add/remove did you use it’s removal/uninstall utility?