There are many resources available to ensure you are safe.

Write down the address and phone number of the U.S. Embassy nearest to where you will be staying. Most embassies have an emergency number for business and non-business hours.
– Emergencies such as being arrested and being a victim of a crime warrant the use of these emergency numbers.
– If you lose your passport, this is NOT regarded as an emergency and you should EMAIL instead of call.
To be proactive, you can enroll in the Smart Traveler Enrollment Program (STEP) from the State Department.