Relationship problems

Lately me and my boyfriend haven’t been having sex. I’m in the mood for it and he just never seems to get the hint anymore. I also went through his phone and caught him texting an escort. But I don’t know if he he went to go meet up with her. Should I confront him about it or wait till I have more information