Greetings Smoussaif65_,
If you are having difficulty with the camera on your iPhone, follow the guidance found here:
If the camera or flash on your iPhone, iPad, or iPod touch isn't working - Apple Support
"If you want to try more steps on your own
If you prefer, here are some more steps you can try on your own if the camera isn't working. You might still need to contact Apple Support after following these steps.
- 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 to discuss service options.
- 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 ."
Take care.