Boyfriend

So me and my boyfriend have been together a while and he talks to his friend girls and I talk to my guy friends cause we both trust each other..well he got mad at me cause I was talking to this one guy friend and I wasn't flirting or anything and we talked about it and he told me that he doesn't trust me anymore cause I talk to other guys but he talks to other girls? What do I do?