The first thing that you need to know about cameras is that they are temperature sensitive devices that may get affected severely if the temperatures are not right. You should try to keep cameras away from extreme heat or extreme cold temperatures. If the weather is too hot, it might fry the internal parts of your camera and it would not be able to function well. This does not bode well to your camera and it would be impossible to repair it later on. That is why you should never leave your camera on a ledge or somewhere where the sunlight is directly hitting it. On the other hand, if you expose your camera to extremely cold temperatures, moisture might build up inside of it and water might get in and disrupt the electronic parts of your camera. This leads me to my next point.
My next point is to keep your camera away from water. Water is the enemy of all things electronic and that includes digital cameras. Although there are cameras that are waterproof, you should not take chances with yours. Try and keep your camera dry at all times. If a little water gets on your camera, do not wipe them with a cloth. To dry them properly, you should dab the cloth on the wet parts. That is because if you wipe them left and right, the water will have a chance to get into the creases and the cracks of the camera which leads to the inside.
Lastly, when owning a digital camera, try and take care of all of its accessories such as the memory cards and extra batteries. This will prolong the use of your camera since you do not have to replace the accessories with new ones. These are the basic ways in which you can take care of your digital camera. Do not take any chances when it comes to your camera. Make sure that you keep it safe always.