Erectile dysfunction can go away by itself if the cause is psychological. It may take therapy or counselling to help restore confidence, but it is usually temporary. ED caused by physical factors is harder to reverse and depends on the extent of damage caused by long-term conditions. Treating the underlying issues early on increases the chances of ED going away.