[This was written assuming you had a digital. If not, certainly try a camera repair place FIRST.)
I'm sorry to say that the camera is PROBABLY kaput. However, there's at least one site on the web that exhibits images taken from a early model Nikon (I think) AFTER the camera had fallen into a pond. The colors were distorted in the most marvelous fashion, but the images were still sharp.
However, the real relevance to your situation is that the camera still worked. There IS a chance that it'll recover.
If I were you - I'd remove the batteries straight away. Then contact Nikon about possible repair costs. If the estimate is too high to be acceptable, I'd try a little home treatment. First, if the fluid spilled on the camera was distilled water or drinking water, I'd allow the camera to dry thoroughly. Several days. Maybe even using a fan, with the back opened. Then cross my fingers, load fresh batteries in, and fire it up.
If the fluid spilled was beer, juice, tea, coffee, and ESPECIALLY if it was salt water, I'd remove the batteries, then rinse the camera thoroughly with distilled water (available in most groceries right near the spring water and mineral water - don't substitute), then dry as above. Salt is terribly corrosive to metals, so you need to get it out.