Make sure it is turned off.
The gadget show tested all the anecdotal methods of drying out mobiles and found none that was really any more effective than leaving it to dry in a warm environment. Rice scored very lowly.
Put it in the airing cupboard for a few days and then turn it back on.
It is truly a lottery whether it is fried or not.