Make sure it is still plugged in then pour water over the keyboard (and into the big box with the lights on it if it is a desktop rather than a notebook computer.)
Once you let the smoke out of the computer chips inside the box it ought to function much more predictably.
hahhaha
NO! If you let the smoke out, it stops working!
The magic smoke must stay inside the device for it to work!