There may also be other factors such as demanding wife, open or hidden hostilities between you too, sexual intimidation, performance anxiety, fear of failure, kids lack of total privacy (kids sleeping in the same room), your own diverted interest etc.
Next Steps
Consulting privately can help the doc understand your problem well and evaluate it from different perspectives.
Health Tips
Dont worry, this happens to many people. It can be overcome.