If you phone gets wet you want to turn it off and leave it off until it is dried off. This may take a few days with the device in a desiccant. Rice will do in a pinch, but there are drying packs that contain silica gel or other desiccants easily available. Every time I get a device that has a silica gel packs (says "Do not eat") I add the pack into a my box of packs for use resurrecting devices. If something gets wet I throw it into the box and wait a few days.