I dont know how to help my boyfriend?

Almost every month we have a small fight. It starts where our sex time doesn't go according to plan due to outside occurrences. He gets mad and sounds like to me his taking it out on me, then I get upset. Then he gets frustrated because I am upset and then tells me I keep making excuses and make an effort and have sex. My family are over and can hear me, its awkward. I wait for them to leave but by the time they leave I am already crying because his getting mad at me for "making excuses". Then he tries to make me feel better and then blames everything on himself and I said to him it wasn't his fault, it is just stuff out of our control. Then he says I am incapable of helping him fulfil his needs, I rejected sex twice from him before due to period. He said he should stop talking to me, I make him miserable and I am incapable of helping him feel better (I don't know sexually or emotionally). He ended up saying bye and never texted back. Its been a few hours.

I dont know what to do anymore.. this isn't the first time he said he won't talk to me again. He says it out of anger and rejection.
I dont know how to help my boyfriend?
Post Opinion