Read this support guide:
Get help with the camera on your iPhone, iPad, or iPod touch - Apple Support
If you get no help, have your device inspected at your most convenient Apple Store or Authorized Service Provider: Apple - Find Locations - Location Selector
Regards
Giulio