Personal pleasure over me

Hey guys. My husband and I are ttc, but we've only had sex once this month. He usually has issues maintaining an erection when we do have sex. So today I suggested A. A doctor's appointment or B. Sex therapy to pinpoint the issue. He tells me that he has a problem with masturbation. He says he does it all the time and that's why he's usually not in the mood or has an issue maintaining the erection, because he's already ejaculated. I'm currently not sure how to feel....I feel upset, but I feel like there's some sort of alternative to this. Any suggestions?