Potatoes turn black due to the oxidation of phenolic compounds like tyrosine. However, there are several methods to prevent this, such as soaking them in water with baking soda or salt, using white vinegar, avoiding iron or aluminum utensils, removing excess starch, and blanching.