Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
Try cleaning the terminals in the battery compartment, after removing the batteries, first by rubbing off with a fresh pencil eraser, then by wiping the terminals off with cotton swabs moistened in rubbing alcohol, then letting them dry off for 5+ minutes with the battery compartment door open, then try turning the camera On again.
Is there any sign of a problem when you look into the battery compartment? a problem that happened before but which was temporary, is one that might be owing to a loose connection, breakage, loose wire or debris, etc. So looking into the battery compartment is advisable.
Let me know what happens, and what you find out.
Also, let me know please: How old is your camera?