Soft for sex

My boyfriend and I have been dating 6 months. We have had sex for the whole time except for the last month. He hasn’t been able to get hard for sex. We talked about it and he said it wasn’t me, it was that he gets scared that I’m gonna be pregnant. I’m on the pill and we use condoms so he knows there’s a very slim chance but he says it’s getting in the way of being hard. We love each other and want to have sex but i don’t know how to get him out of his head. Any suggestions?