Boyfriend

My boyfriend and I have had a rough relationship. We live together but he gets jealous or mad when I am texting my friends. He doesn’t trust me at all but is with me. What should I do?