Please perform the following steps:
1- Perform Interactive checks through Samsung Members app (Samsung Member> Get Help> Interactive checks->camera).
2- Settings > apps > tap on 3 dots > show system apps > camera > storage > clear cache.
3- Force stop the camera app (Setting > Apps > tap on 3 dots > show system apps > select the camera app > Force stop).
For further assistance, register your concern in Samsung members app(Open Samsung members app>click on “+“icon>send feedback>Error report/ Ask Questions).
Team Samsung Members