IPhone camera won't work at night?

Whenever I try to take pictures with my iPhone when it's night time or there's no light in a room, I put the flash on and take the picture and the picture shows no subject, just blueness. And if the flash is off you don't see anyhing but darkness in the picture. I've tried apps and I don't want one because all my friends cameras work and they have the same phone as me! I don't know if I have to change settings or what? There's nothing covering the camera and it's not like me shaking the phone so it comes out blue so please help! I wanna take normal pictures at night!

Turn the contrast down and the exposure up in the camera settings.