Boyfriends

Your boyfriend has "an addiction to sex", but you can't give him that so you tell him you're okay if he has sex with a girl he has absolutely no interest in. The opportunity presented itself so he took it and the next morning messages you that he did it and the girl is still with him. You thought you'd be okay but you're really not. What do you do? Moreover, if you don't want to break up with him, how do you tell him he can't do that anymore and you take back what you said?