@g12345 it will help if you let us know what make and model your camera and your lens are. Biggest issue you will run into is corrosion. For now you do not want to do anything with your camera. Do not try to run it on, plugging it in etc. This potentially can make a bad situation worse.
Salt Water will get your components to corrode very severely. The very first step I would take is to disassemble your camera/lens. Take a careful and close look at all components and connectors. Truly assess the damage. Look for major corrosion, evaluate the pins in the connectors etc,. Take a look at all connectors as well as cable ends. After that I would suggest that you clean it a couple of times in sterile water, not drinking water (that might have helped right after it got submerged in the salt water). Use a soft brush and clean it very, very thoroughly with the sterile water. You will have to remove all the EMI shields from your boars etc. Once you got the gross contamination cleaned, use 90%+ isopropyl alcohol and clean your parts some more. For a proper cleaning, use this guide. It was written for a Apple iPhone 3G but it is still pertinent to your camera as well. I can not stress the importance of a good cleaning enough, so do it over and over while replacing the alcohol after each cleaning. Do not use compressed air for the cleaning since that can drive liquid as well as corrosion particles into areas that will cause trouble later on. Do not use drinking water, if you need to use water, use sterile water. Also, you do not need to leave it to dry for a day. Isopropyl alcohol in the higher concentration will evaporate quickly and dissipate the water. The importance here is the cleaning. Of course,if you can get it professionally cleaned then consider doing it. Ultrasonic cleaning would be the best. Only after you have it completely cleaned can your reassemble and test out what damage it received. the same goes for your lens. At this time it would probably be best to place both, the camera and the lens, inside a paper bag inside your fridge. That will at least slow the corrosion process down