What's the rule of brushing your teeth after eating chocolate? (or anything acidic)?

i've heard two things..

i've heard to brush them RIGHT after

but then i've also heard to wait an hour because the chemicals from the toothpaste react badly with the chemicals in the chocolate and acidic foods....

which is the correct way to going about this?
thanks
:)
4 answers 4