What do you do for a dog that has pain in the urinary tract?

Take your dog to the vet. Most vets will let you pay monthly to cover the costs. Get your dog to the vets immediately!!! Urinary tract infections are extremely painful. A good vet will be more concerned over the dog than the cash. Offer to clean cages, floors, etc., to pay off your bill if you don't have money.