The freezer trick only applies to old,conventional, spinning-disc hard drives, the issue being heat expands, cool shrinks and with tolerances being so tight inside any conventional drive the minute change caused by the sudden, drastic temperature change might free up internal, moving parts that might be stuck. But in a smartphone, there are no moving parts. putting your phone in the freezer is of no benefit. And if you didn't let the phone warm up properly (gradually), the condensation you intentionally caused was more harmful than helpful.
If your phone just got splashed a bit by the rainfall it probably is OK but if it got really drenched than disassemble it as much as you can (remove the back cover, the battery, the SIM card, and the microSD card if you have one), put everything in a bag full of dry, uncooked rice, close the bag up, and let it sit untouched for at least a couple of days. Tolerances inside a phone are really tight too so even a drop of water can spread out quite a bit by just capillary action. If any water did work its way inside your phone, hopefully by turning it back on so soon didn't short out any internal components. (If this happens again, turn off the phone as soon as possible, and do NOT turn it back on again until you've dried it out.)