Do the research so you’ll know the particular risks you face. Know the local laws and abide by them. Register your whereabouts with the U.S. Embassy if you are staying longer than two weeks or are in a particularly dangerous area.