The British government has published a list of recommendations and tips for the ones that will be visiting Brazil for the World Cup next year. I can say this sort of advice is useful for any type of people visiting Brazil, not only for football fans, This is the sort of advice that every single Brazilian knows since he/she was very young - like 'my mum always said that!".
Here's the link:
Keep your eye open and enjoy yourself!