All liquids getting inside your electrical devices are like cancer to them. Corrosion directly speaking 'eats' the elements of your device. In case of flooding your computer or phone with liquid the first step is to remove the battery (if possible) as soon as you can and run to the nearest service (if possible). Every second matters.
Never put your phone to rice: it's a myth!