The make and model of the camera as well as the specific problem would be helpful. What specifically is the problem? Doesn't turn on? Turns on but doesn't work? You can take a picture but it isn't saved?
Depending on the age of the camera you can consider:
1. is it worth your time to mess with?
2. What does a used one like it cost?
3. What does it cost to have this one repaired (take it to a shop for a free estimate).