First - make an appointment for the dog to be seen by the vet. Second - put a few drops of cranberry juice in the dogs water. Not too much or he/she will reject it. Do this until you see the vet. Good luck and make sure the dog drinks lots of water.
Actually this may sound crazy but you can use woman meds that they give us when we have one if you have some of these pills take one break in half and give the half part to the dog in the food make sure the dog drinks a lot of water