Hello MilissaRJ,
To help troubleshoot, ensure iOS is updated on your iPhone. Currently, iOS 16.1 is the latest version of iOS. You can tap Settings > General > Software Update to check for an update.
To further troubleshoot, check out the suggestions in the article below:
If the camera or flash on your iPhone, iPad, or iPod touch isn't working
"If the camera isn't working
- Remove any case, accessory, or film that might block the camera or that places a magnet near the camera.
- Test the camera by trying to take a photo.
- If the photo is blurry, clean the front and back camera lenses with a microfiber cloth. If you see dirt or debris inside the lens or if the camera lens appears to be misaligned or blocked, contact Apple Support for help with your iPhone, iPad, or iPod touch.
- Restart your iPhone, iPad, or iPod touch.
- Test the camera again by taking a photo. If your device has a front and rear camera, check if one or both isn’t working. To switch cameras, tap the rotate button
."
Let us know if that helps.
Kind regards.