When a Kanji has more then one pronunciation and both seem plausible, how do I know which pronunciation I should use?

Take this example
浅草寺に伝わる縁起には、観音さま示現の日、一夜にして辺りに千株ほどの松が生じ、3日を過ぎると天から金の鱗をもつ龍が松林の中にくだったと記されている。

There is 記す(しるす)and there is 記する(きする)when I put them in passive voice both end up to be the same as す becomes される and する becomes also される

So how can I tell if in the upper example 記されている is pronounced as しるされている or as きされている?

by dontsaltmyfries