Frustrated!!

I’m ovulating and me and my husband have tried to have sex yesterday and today. He knows I’m ovulating and we need to do it to get pregnant. All the sudden he can’t stay hard. I’m getting so frustrated. He’s fine when he wants to have sex to enjoy it but when we need to he just can’t. He even took a pill. I don’t even know what to do. I’ve asked him several times if he even wants another baby and he says yes. Is this some internal thing? Wtf is going on. I literally feel like he doesn’t want me. Someone help because I’m just getting more frustrated by the minute.