Eat magnesium-rich foods. You must include food such as dark chocolate, pumpkin seeds, flax seeds, nuts (especially brazil nuts, cashews, and almonds), whole grains, avocados, salmon, legumes, kale, spinach, and bananas, to help keep your ears healthy and to prevent hearing loss.