|If a desktop, then circuits on the keyboard are generally off of the bottom so they are less prone to problems from spills. Also it should be relatively easy to open the keyboard, dry the inside and clean the board and contacts with q-tips and rubbing alcohol. If this does not work, basic keyboards are available for $15. -$20. so don't sweat it if an hours work does not get it working.|
If a laptop/notebook, you should immediately remove the battery to minimize any damage due to current jumping between circuits and take it into a professional to see if it can be salvaged. If you are very good with delicate things and have a lot of patience, you may want to try opening and cleaning it yourself as above, but it will be more than just the keyboard that needs cleaning and depending on what it spilled on internally (and if there was milk or sugar), it may be very difficult or or impossible.
You have to be a little bit crazy to keep you from going insane.