Photographic memory isn’t real (sorry to that one person you swear can remember everything).
Your brain isn’t a camera. It’s more like a storyteller that fills in the gaps.
Here’s the science: https://theconversation.com/photographic-memory-is-a-myth-heres-what-research-really-says-about-remembering-278160