Chosen Solution

Immediately after turning it on, it clicks up and down the shutter on the display and in the viewfinder a camera error is displayed. Turn off the power then turn it on. Tell me what could be the problem. Can I diagnose the camera on my own? Tried to shake the camera a little does not help

Shutter is stuck it seems. Follow this sony guide: https://us.community.sony.com/s/question

Try to reset camera to factory default If possible. Remove battery and then press and hold power button for 10 second and then reinsert battery. Different camera has different way to reset check manual.