Stress and other psychological factors can cause erectile dysfunction.