Outside’s $1 Tipping Rule

How do know what the tipping rules are when you're in another country?