How to distinguish two words the same pronunciation but different meaning (gāo jià)
As a Chinese native speaker, I use contextual information to distinguish them while listening. It's very common.

Different tones also used to distinguish them. Same pronunciation and same tone is not very common in different Chinese phrase.

Every Chinese pronunciation has many different characters, so you can easily distinguish them by their shapes while reading.