Please follow the below mentioned steps in order to resolve the issue:-
1) Clear the Cache of the camera (setting>>apps>>camera>>storage>>clear data and cache).
2) Do the reset settings of the camera (camera>>setting>>reset setting).
3) Turn on the Auto Flash (If Available in the Device).
4) Do the reset app preference (setting>>apps>>three dots on the right top>>reset app preferences).
Then kindly restart the device and check the issue.
5) Check the update in the device.
For further assistance, register your concern in Samsung members app (click on “+“icon>send feedback>Error report/ Ask Questions).
Team Samsung Members