I agree with Specialmom. You've been married 6 years which is long enough for your husband to know how you'll react to things and if you react this way to stuff then he was probably too afraid to say anything.
Men have very fragile egos tied to their ability to achieve and maintain an erection. It's a very sensitive subject for them. The absolute wrong way to deal with it as a woman would be to get angry or blaming or act like they've done something wrong. The right way to handle it is to be compassionate and understanding about it and never make them feel like less of a man because that will make it far worse.
Stop taking it so personally and go give him a big hug and a kiss and tell him how much you love him. I'm sure he will appreciate that and it will make it a lot easier to treat his ED if he has your support.
I'm not sure I understand. Erectile Dysfunction is a medical condition that is treatable and he sounds like he is trying to treat it. Why are you devastated? That isn't personal? And if he didn't tell you, your reaction that you write of here tells me that maybe this is why. You are most likely making him feel ashamed. ED is a big problem for many men. Try to be empathetic. The pills he has (actually prescribed medication works and herbal is unreliable)-- is what cures it unless there is an underlying cause. He can broach that with his doctor but your taking it personally or as something that makes you feel less than or think less of him doesn't help hon. It's like a woman who goes through menopause and suffers vaginal dryness. Does this mean she isn't sexually attracted or want to have sex? Nope. good luck