Studies show that a diet including vegetables, fruits, and whole grains can help prevent ED but only a substantial change in your diet along with regular exercise. One can also include leafy greens, blackberries, oatmeal, bananas, and fish in their meals.