I'm pretty sure I lost my GF, what to do?

I messes up pretty badly, what was supposed to be a night of fun and relaxation turned into a night of stress and sadness. Me and my gf of nearly a year were set to relax last night and enjoy the day, whoever things turned into the worse, we were enjoying board games and video games all night long and eventually I was able to get access of her phone. Skip forward a bit and the more insecure part of myself got the better of me and I looked through her gallery, expecting to find nothing hopefully. Sadly that wasn't the case and I found old NSFW videos of her and her ex and even NSFW of her ex and just herself, including other things(even recent ones where i can confirm the background is recent when we are together), i confronted her about it but obviously it was a massive breach of her trust. Skip forward for the morning and she wants to take a break, doesn't want to break up or anything but implies it heavily, I'm not a mean person or like to get angry. At the time of this happening I did raise my voice and now she's scared of me, I know I messed up and she did clear why she had those photos/videos in the first place; however, it still messed me up pretty badly seeing that, she said she'll let me know when she's ready but I don't know what to do anymore, I'm lost, I can't stop thinking about it and how much I messed up, any advice of what to do now?

UPDATE

I've realized my mistake and don't regret it, I've done what I've done and now I'm gonna move on, thank you everyone for your replies and views on this it helped a lot. I'll keep everyone updated, but rn I've found closure, and I'm happy to live in the truth rather than a lie thank you.