Why Japanese kanji have multiple readings
Kanji were originally created to write Chinese, but Japanese already had its own spoken language and (lack of) writing system. When kanji were imported, both the imported pronunciation (onyomi) and the pre-existing native Japanese word based on meaning (kunyomi) ended up attached to the same character β resulting in kanji with multiple readings.
How to approach an unfamiliar reading
When you encounter an unfamiliar kanji, first check whether it's used standalone or as part of a compound, then apply the rough rule of thumb to guess the likely reading. Because exceptions and jukujikun are common, though, checking a dictionary is the surest way to know for certain.
Frequently Asked Questions
Should I learn onyomi or kunyomi first?
In Japanese school education, both the onyomi and kunyomi of a given kanji are typically taught together as its representative readings, without a fixed order β students gradually get comfortable with both through textbooks and everyday reading.
Do names and place names also follow standard onyomi/kunyomi rules?
Names and place names frequently use special readings that don't follow the standard onyomi/kunyomi rules. Since these can't reliably be guessed from the rules, they typically need to be checked or memorized individually.