Treat using alkali therapy and measures to correct low serum potassium in type 2 and sometimes type 1 RTA, and using potassium restriction or potassium-wasting diuretics in type 4 RTA; give other electrolytes as needed.