The same thing happened to my iPhone 14 recently. The condensation on the front and back cameras were too much. I went to iFix, they ran diagnostic and everything works fine except it was impossible to take photos. What I did was follow their advice. Be patient and let it dry by itself. It was difficult but it works. What I did to speed up the drying process? I removed the sim tray, case, keep using it, charging it, few times blow dry medium heat for 30 seconds intermittently and indirectly with phone facing down to let moist out from the speaker, simcard tray slot, and charging port. It did help but condensation formed again. I just let it be, and today a week passed, almost forgot about it, just noticed cameras all clear. So I know it is stressful but if your phone works fine with no other issues, keep using it, forget about the cameras, be patient and let it dry by itself.