completely disemble the phone ( batter, sim card ect.) and put it into a bolw of dry rice for 1-3 days. Because rice absorbs water well, it's better than just leaving it to dry alone, when it could cause some damage because the water wasn't removed quick enough:)
if that doesn't work, you'll probably need a new phone:L