The best thing I heard you can do is to leave it in some dry rice overnight (like anurbanlegand suggested) or, if you have enough of those silica gel packets, use those. Don't use a hair dryer or anything that can force moisture further into the phone.
http://www.wikihow.com/Save-a-Wet-Cell-Phone