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 lack of hormones. Hormone replacement therapy could help in these cases. The use of pills or injections usually will restore normal erections in such rare cases of hormone-related impotence.