If erectile dysfunction is caused by psychological reasons, counseling or sex therapy may help. Other treatment options include urethral suppositories, injections in the penis, vacuum devices and surgery.