If erectile dysfunction is caused by severe clinical depression, antidepressant drugs may be the first course of treatment. In very rare cases, erectile dysfunction is caused by a lack of hormones. Hormone replacement therapy could help in these cases. The use of pills or injections usually will restore normal erections in cases of hormone-related impotence.