What should I do?

Maddie • Been with my boyfriend Tyler for 1 year and 3 months and I love him very much.
I know it's bad, but I went through my bf's phone. I found something I didn't want to, it was a tbh from a girl and the tbh wasn't bad, what he said to it was bad. They're graduating high school together and he said since we're graduating we're about to miss the chance to hook up. She blew it off and just laughed but then he said "I think we're both missing out" I'm super mad but I don't want to tell him I went though his phone. What do I do?