Chosen Solution

Only does certain times but Photo/video setting on right side flash red/orange and lens retracts and camera shuts off.

You should try to do a reset or re boot. If this doesn’t work, should try a factory reset or something is wrong with the logic board or motherboard,