Avoid coffee and salty food to fix magnesium deficiency.