what should I do?

been married for two years now, even before we got married he would stayed in touch with his (friend) ex; when we were dating I did not feel with the right of telling him who to talk or not talk... we got married and things kept going the same between them, she would text him past 11pm and he would replay😔 He is always saying "she is just a friend" ... Last night I was so anxiuos and had the urge to see his phone😥 found msg... he was actually asking her for pics (she is on vacation in Florida) of her wearing bathing suit... they are always sending each other emojis like '😍😅😘🤤😩😈😻👅💦' and more... I've talked to him. I even asked him to leave if he cannot commit to our marriage... all he says is "you know I love you, at the end of the day I come back home and sleep with you" . what does that suppose to mean? So, he can be flirting and talking dirty to this woman because he still comes back to me every night... I don't know what to do anymore💔