it's about awareness, awareness, awareness ... which is based on research, research, research. Know the players and the program, and common situations that get locals and visitors in trouble; and then start to think about Plan B for these situations. Nothing macho: in the Third World, the best trick is to be someplace else when something bad goes down. My $0.02.
The first and most important part of any trip to anywhere!