Got malware.....

…the other day while on a site.[only window opened at the time] :-X
While on the site,an Avast window came up bottom right,said it was scanning a ‘suspicious’ file-then said everything was “OK”.I closed the site i was on and scanned -first with Malwarebytes-which indeed found a trojan !so i was able to rid of it.then…ran a full AVAST scan.

My questions…
First-is it best to stay clear of the site I was on when I go it?

or safe to go back to it since i got rid of the trojan.?

AND why didn’t AVAST block it like it has blocked ‘bugs’ in the past ?
btw-At the time i didn’t realize I needed to updated AVAST to the latest version .I only realized that when i posted another question here earlier this wk.

If you want a malware check follow this guide: http://forum.avast.com/index.php?topic=53253.0
And attach logs. Please open a new topic in viruses and worms.

You can send the to Avast:

Address: virus@avast.com
Subject: missed sample
In a password protected archive, dont forget to tell them the password.

First-is it best to stay clear of the site I was on when I go it?
Impossible to say since we dont know what site it is..... if you told us we can check it
AND why didn't AVAST block it like it has blocked 'bugs' in the past ?
Meaning?