Almost cheating

My boyfriend and I recently got in a fight that caused him (for the second time now) to storm out of the house around 9pm. Before he did, he took a shower and cleaned himself up and walked past me a couple times while I was sitting in the living room. He claimed he had a "5k" to run but I knew very well he was lying to me because it was so late. He started his car and left and turned back around and walked in the house saying how I could have made this better by doing this and that. He left and came back a second time and before he came in i decided to act like I was using the bathroom to avoid him. He told me to open the door and I reluctantly did. He simply told me he couldn't leave after "the promises" he made to me and how he didn't want to repeat hurting me. He said he saw me laying on the couch and that it reminded him of how much he loved me . He told me the truth that he was about to go to this girls house (he left to her house last time he hurt me and he swears nothing happened) and that he probably would have cheated on me because she said to "bring alcohol". He said he probably wouldn't have came back that night. Then he says that he came back and texted this girl that something came up and didn't go because he realized after "all of we've put in our relationship I couldn't ever let it down for a one night stand" and that he loved me so much and "wanted to spend the rest of the night with the one he loves". 
What do you guys think of this occurrence and how I should react to it ? It's been making me feel insecure about our relationship and the reason that he's most likely been emotionally cheating on me hurts me so much still. I just don't know what to do at this point. We've been together for 2 years.