I have an iphone 8 i think the cameras broke?

I had the phone for like 3 months and now when i opened the camera there's a type of distortion on it as like the camera is shattered. Tho i looked at it and it looks all fine from the exterior. I don't think i dropped my phone at all recentley

You have a one year AppleCare warranty. I suggest that you use it.

If Apple find that the problem is due to accidental damage then you'll be charged unless you paid extra for AppleCare+ which also insures against accidental damage.

If it is enough of a concern try contacting Apple about it.