To fix a phone’s camera that isn’t working, the following steps should be taken:
- Restart the phone.
- Check if the camera app and the other apps that use the camera are updated.
- Check if hardware is blocked.
- Clear out the cache from the phone's applications.
- Check the phone’s storage.
- Update the software of the phone itself.
- Restore all factory settings.