chat with his ex

I caught my boyfriend still sending messages to his ex. Talking about their past sex lives. We’re already turning 3years being in a relationship. What should I do? It hurts. And I really don’t know what to do. 😢😭