You must memorize when to use each radical, there isn't really any secret trick to know when to use each radical or reason why it's there.
I see a lot of resources try to tell people that kanji look like what they represent or radicals have meaning, but they really don't. The radicals in a kanji don't really don't "mean" anything, the radicals in the kanji are there just because. Unless the radical is by itself, it don't mean anything. It's just how the word is written. Many kanji have are archaic origins or look like what they represent, but this doesn't help with memorizing kanji very much.
For example, this is the kanji for the color purple: 紫. It has the radicals: 止(to stop) 匕(katakana hi) 小(small) 幺(short thread radical) 糸(thread.) What do the radicals mean in the kanji and have to do with "purple"? Nothing. Many radicals have no meaning at all, just names people give it.