Put it somewhere warm like an airing cupboard and leave it to dry out overnight or longer if necessary. It sounds like the phone is currently shutting down to protect itself due to the water ingress. I can't guarantee this will work but it's worth a try.