Erectile dysfunction

I think my hubby may have issues with erectile dysfunction. I haven’t been satisfied sexually in months, because when we have sex he goes soft within minutes of it starting. Has anyone else had issues with this? What did you do?