My SO preferes porn to sex???

My So and I don't have sex very often, it's like 1 to 3 times a month. He told me that he have problems with his penis, like pain, because of that he can't have sex with me but masturbate very often. I don't feel attractive anymore, plus we fight every day, there's always something I do that makes him impatient and shout. Should I leave him??2 years of relationship.☹️☹️