I watched a friend of mine go through something similar. He couldn't get hard, couldn't stay hard, and couldn't finish if he could stay hard long enough.
It wasn't until the relationship was over that he saw what was wrong with it.
Sometimes you just can't see until you have some perspective.
There are three sides to every story - yours, mine and the truth.