What to Do When Your iPhone Gets Wet
First, do not power it on, do not charge it, and do not shake it. The rice trick will not help, it just buys time for corrosion to spread. Turn the phone off, dry the outside with a soft cloth, and bring it in as fast as possible. The sooner we open it up and treat the logic board, the better the recovery odds.