I would say, pull off the battery, let the phone dry out for a few days.
Put the battery back in, plug the phone into your wall charger and turn it on.
I once went swimming with a phone in my pocket. Did the above at it worked perfectly for another 8mos until I replaced it. However, I did need to buy a new battery.