When you spill water on a computer you should immediately turn it off. Pull the battery, remove the power cord and anything else connected to it, dry off what you can, and then place it, open and with that stuff still removed, somewhere safe and dry to allow it to dry out for days. Yes, I did say days. The more liquid, the more days it will need to fully dry out.
Otherwise, trying to use it before it is completely dry could lead to having to replace something small (like the keyboard) to having to buy an entirely new device because it got fried.
So turn it off, follow the info above, and have patience. Oh and hope having turned it on, or kept it on, hasn't done any major damage.