Chosen Solution
Basically there was glue on my phone and I was trying to scrap it off and it,as I was doing this the camera got scratched in the front camera.So now when I take pictures it’s foggy/blurry,what should I do?
Replace the front camera assembly. If you are talking about the glass on the screen either clean it or replace the screen.
Using a Cotton Bud - wipe Petroleum Jelly onto the camera lens then gently wipe clean with a Microfiber cloth. The purest petroleum jelly, like Vaseline, works best. The idea is that the jelly fills in the cracks and lessens the effect it has on light passing through the lens. Alternatively - these can be replaced. Pop into your local repair branch - as prices can vary depending on model :). https://www.pcheroes.co.nz/news/30/54/Sc…
If the glass scratched, the best solution is to change the whole screen. It is not expensive and you can do it easily. On this way your front camera will take good pictures again. During the repair you can clean the camera and camera lens on the front glass inside and outside, and your pictures will be even better in the future. Here you can find a guide: iPhone 6 LCD and Digitizer Replacement