Yes, my India has had several urinary tract infections. We're having her urine monitored regularly for pH and struvite crystals.
Talk to the vet to find out if her pH could be a factor causing the infection, and how to manage that.
Many times India's pH was too alkaline, so now she is on a high protein food and takes 125 mg of vitamin C daily. We cut the chewable vit C in half.
I would not give vitamin C to a puppy unless the vet is monitoring her, because it can cause stomach upset. There are other prescription medications to change pH, if needed.
Twice the vet wanted to put her on Hill's Prescription diet CD, but that food uses corn gluten meal to make the urine more acidic. I will never feed my dogs anything with corn gluten meal in it, since that Diamond brand dog food batch that killed several dogs in the US last winter!!
Both my vet and I researched, and she has approved me feeding India this canned food called Evo 95% beef (no grain, low carb) if India's pH goes off again. Currently I am feeding her just the Evo kibble (no grain) and the vit C, and she is doing fine.
Some dogs' urine is too acidic, and they can get a different type of crystals, so you really must work closely with your vet!!
All crystals are bad, because they can form into kidney stones, which are life threatening and require surgery.