IPhone 5 camera and flash not working?

My iPhone 5 camera isn't working right. I open it and the screen flickers purple then it unfocuses and freezes. The flashlight setting doesn't work either. Can anyone tell me why its doing this and how i can fix it? Yes i've tried shutting off my phone and turning it back on, but that only fixes it temporarily.

If you have apple care, you can just go to the apple store and they might replace it for you for free!

  • Snapchat Front Facing Flash not working? Ever since I've had snapchat on my phone, the front facing flash has worked that was enabled. Just over the last hour, it randomly stopped working and I've tried everything (restarting, deleting). I have an IPhone 5c. What do I do?
  • Iphone SE flash light not working all the time if at all? I've reloaded iOS several times. Fresh reloads back ups tried every single backup I could find in itunes. Nothing. I can reset all settings in general and get it to come on for maybe 10 seconds then it goes off. Phone hasn't been dropped only had about a week.
  • IPhone 5s camera/ flash not working? My camera bad flashlight aren't working, when I try to take a picture it says "error launching camera, please try again" I tried resetting it, also erasing a bunch of stuff still didn't work.
  • Iphone 5 flash/flashlight not working? So i just got my phone replaced a week ago because my old phone's lock button doesn't work anymore and noticed that when i tried to use the flash light it doesn't work. Just wondering if i need to replace it again or i can just solve it by tinkering my phone. I tired to turn it on and off again and it didn't work. So what should i do?