Studies have shown that men who eat more vegetables, nuts, fruits, legumes, fish, and other healthy fats, and stay away from processed and red meats, reduce the risk of developing erectile dysfunction.