Problem with Porn

I'm not a prude. I watch porn sometimes when my hubby isn't in the mood or not home. My husband also watches porn for the same reasons. We're okay with this.

What I am NOT ok with is that when him and I have sex he has erection issues. Like in the middle of it, his erection dies. I thought it was because of stress of trying for a baby or his age (43). Nope, these are not the cause.

Apparently when he watches porn has has no erection issues. Just keeps going until he cums. I found this out by asking point blank. I know feel severely unattractive. I feel like he doesn't love me. I feel like everything I have done in our marriage (been married 2 years last May) has been for nothing.

I seriously have no idea what to do right now.