The Camera app, just like all other apps on the phone, has its cache files. With time, the cache files get accumulated on your phone eating up a large chunk of the storage space.
This has the attendant effects of slowing down your phone’s performance and making your Camera app — and other apps — malfunction.
If your Camera has stopped working, you can fix it by clearing the Camera app’s cache files.
- Head to Settings > App management > App settings
- In the list of all apps on Android, tap the Camera app
- Press Storage & Cache > Clear cache
- Open the app again to see if the camera works fine