WTH is wrong?

My SO and I are trying for baby #3. He is having trouble maintaining an erection and tonight he didn't even get hard. I laughed it off but it worries me. He's 47, but this usually doesn't bother him. We've gone through some rough patches in the last year. Idk. Thoughts?