ED is not a symptom of diet, it is a symptom of an unhealthy body. Some people have healed with a raw food diet, some others with paleo, some even with a low-carb/high protein diet. You can eat the allegedly best diet on earth and still get ED if you're still in a poor health state. When I was severely compromised, I was getting ED no matter what my diet was. And I tried them all.
Cleansing and of course maintaining a good diet to stay healthy will get rid of ED.