Wtf do i do ?

What do you do when you find out that the guy you have been with for a year is still hung up on his ex. How do you confront him about it? Especially when you know he still txt her and talks to her...