No matter, which part of the world you are travelling to, make sure that you do your research well about the place much before you begin your journey. While most people would research the best places to see, the famous restaurants, accommodation facilities, make sure that you look beyond the obvious. Yes, you may choose the safest location to stay, but that does not guarantee your safety while you are out on the streets.
You may think, you are too smart to be scammed, but when it happens, you will find yourself despairing. You can easily avoid this situation just being a little prepared to tackle the potential threats and faceoff with the con artists. Learn about the popular scams at the location you are visiting. You can look up threads on traveller forums online- ex TripAdvisor etc. Remember, forewarned is forearmed, and this research would help you defend yourself from being tricked of your valuables.