Is this cheating

So me and my boyfriend have been together for 5 months now and he keeps texting other girl. I read the messages and they were flirting and I told him I didn’t like the fact that he was texting and snapping her. He said they are just friend but it bothers me a lot. I don’t know what to do is this consider cheating or am I over reacting