Hi, welcome to the ehealth forum and I am glad to help you.
You seem concerned by the recently developed erectile dysfunction.
Most men will experience psychological impotence at least once in their adult life, so it's important to know that an occasional episode is not a diagnosis for on-going impotence. In most cases, isolated episodes are more likely to be due to fatigue, stress or an over-indulgence in alcohol than an underlying physical cause. However, many men react to an occasional episode of impotence by becoming more anxious, which results in further sexual problems, hence more anxiety. This is called the "impotence domino effect" of anxiety - failure - more anxiety - more failure.Many men still feel enormous pressure to "perform" sexually. Very often their feelings of self-worth and masculinity are intricately interwoven with their ability to "get it up". So it's easy to see why impotence, even if it is an isolated incident, can lead to "performance anxiety" and the subsequent loss of self-esteem. The most important thing to remember is that occasional episodes of impotence are normal. Unless there is an underlying physical cause for impotence, or the episodes increase in frequency, there is no need for treatment.
You must consult your personal physician to rule out physical causes of impotence like hypertension, high cholesterol, diabetes and pelvic trauma etc.
Hope this helps your cause.Take care.
Note: This post is not to emphasise final diagnosis as the same cannot be made online and is aimed just to provide medical information and no treatment suggested above be taken without face to face consultation with health care professional.