How to my iPhone to work after it's gotten wet?

I uh, dropped my phone in the bath, and it was fine to begin with the speakers just stopped working so I thought if i put it in a bag of rice it would start to work again but then the button stopped working and it started glitching out. Now it's telling me to plug it into my computer to reset it, I did that and now it just keeps telling me to plug it into my computer to reset it. CAN SOMEBODY Please Help ME THIS IS URGENT TO ME.

1.Turn your phone off as soon as possible
2.Leave it in a bucket of rice for as long as you can do without it.

At least a couple of days. The rice will attract the water and hopefully your phone will be as good as new.

Put it in rice (or in front of a fan) for 3 days without turning it on. If you already turned it on then you may be too late as that may have ruined it.