You lose your passport
Solution: The first thing you should do is report it lost with the local police, get the reference number then schedule an emergency appointment with your country's embassy/consulate in the city you're visiting. You will then need to fill in a lost or stolen notification form before you're issued a replacement passport. It's very helpful if you have another form of identification with you (i.e. driving license). Finally, contact your travel insurance company as they may be able to help cover the cost of your lost passport.
Top tips: Always have a copy of your passport in your suitcase and on email. It also saves time to have a couple of extra passport photos with you.