Really really need some advice!!

So my boyfriend who I love so much has been acting weird very distant and acting like he needs space when I ask if that's what he needs he tells me no yet I get on his FB and see him messaging a girl a freaking kiss? Are you freaking kidding me I'm so loyal to you when you were in jail when you got out! I've been nothing but good to him and he does this crap I haven't confronted him yet because I wanted some advice first. So what do y'all think should I confront him and listen to his lies (which he deleted the message not long after so I know he knows he sent that) or get even and finally make him feel the way he's been making me feel?