Iphone 3gs fell in water and its not charging?

Well the dock connector fell into water, and then it said Charging is not capable with this accessory or something like that. Can someone please help me? What should i do?

Buy a new phone u clearly need 1

Get a new phone, it has been damaged.

You could try turning it off and leaving it off for at least two days turning it back on and trying again. But I doubt it will work or work for very long.