2. Dietary Changes Some dog foods are formulated to promote urinary health. These diets are typically low in ash and magnesium, which can contribute to crystal formation and infections. Consult your veterinarian for recommendations tailored to your dog's specific needs.