The primary treatment for galactosemia is a strict lifelong avoidance of galactose in the diet. This involves eliminating all dairy products and other foods containing galactose or lactose. Infants are typically fed soy-based or other lactose-free formulas. In addition to dietary management, regular monitoring of growth, development, and metabolic markers is essential.