Hello NoelMerheb,
Thank you for posting in the Apple Support Communities. We understand that your iPhone camera doesn't work right, and we're here for you.
There might be physical damage to the camera, but we recommend following these steps first since they might help:
If the camera or flash on your iPhone, iPad, or iPod touch isn't working
If the issue continues, however, we recommend getting the device into the hands of a service center for an inspection. We strongly recommend booking an appointment since walk-ins might not be accepted, and you might be able to find locations and book an appointment online here:
Find Locations
If you're in a supported region, you might also be able to view and book appointments using the Apple Support app:
App Store Preview
Before heading in, here's how to prepare for your visit:
Get your iPhone, iPad, or iPod touch ready for service
We hope this information is useful. Kind regards.