Identifying Chinese characters and words that sharing the same pronunciation must be the most challenging part of learning Mandarin.
To increase your recognition rate of these words and characters, the best solution is to accumulate as many vocabularies as possible. And you should not only memorize the pronunciation of the words but also the meanings and usage of the words and expression. Memorising it by combining it with the context, so you will not be confused by wondering which one to pick.