Cant stay hard or cum?

I've been seeing this guy for about 3 months, we had tried to have sex the second date but he couldn't stay hard, the third date couldn't even get hard. Now that we gotten to know each other better he can get hard but never cums. Any ideas why this is?