If you have erectile dysfunction (ED), you may experience many emotions, including anger and resentment. While this is understandable, you shouldn't "shut out" your partner while dealing with the problem. Your partner is also affected by your condition. Not only is good communication essential to successful diagnosis and treatment, it can help your partner understand what you are going through.
The best way to communicate with your partner is to talk openly about sex and your relationship. Try to get past the initial embarrassment and awkwardness so that you can resolve the problem.