Bf texting in the past

If you were with your boyfriend for four years and you found texts to other girls from the first year you dated with pictures of his dick and stuff what would you do? I feel like I don’t know him anymore and I obviously don’t know the extent of the texts or how many girls there were. Just for reference we were both 17 at the time. I still feel sick even tho I’m trying to be reasonable