You can try the following troubleshooting steps to resolve this issue.
1. Open Camera> Settings> Reset settings
2. Open settings> Apps> Camera> Storage> Clear Cache.
3. Then perform a soft reset:
Press the side key and volume-down key simultaneously for about 8 to 10 seconds.
* The device may take a screenshot, however keep holding till it restarts.