I assume the camera used to work fine? How long have you had this camera?
What did you notice when you first started with camera issues? Have you tried from a computer downloading the firmware for the camera. Uploading it to the SD card (so you’d need to be able to insert the card into the computer) and then placing into the turned off camera before powering on.