Any time water gets into any of your electronics, immediately turn it off. Now either wait for it to dry out for at least 24 hours or, if you can open it, get a blow dryer and gently blow dry out the water. Once you are sure all the water is gone, turn on the device. As long as your turned it off quick enough, there's a good chance it should work fine.
As a testimony, one time my mother put a jack-o-lantern on top of our stereo. The pumpkin rotted and began to drip through the air vents on the top of the stereo down into the circuitry. The stereo stopped playing music and we thought we might as well throw it away. Afterwards, a friend told us he could fix it. He opened up the stereo (after unplugging it) and scrubbed out the inside of it with soap and water! After letting it dry, we turned it on and the thing worked great again.
Moral of the story - water doesn't hurt an electronic unless power is running through it.