If your dog is having problems with holding urine it might mean that you are having problem with an infection. One can always go to a vet to get some antibiotics which do indeed help. However some people are iffy about this not only because of cost but because antibiotics can have adverse affects on the natural fauna of the dogs GI track. Here is one tip that has helped me with the problem:
Give your dog 1tbs of apple cider vinegar every day for a couple days, if you have a smaller dog and would feel safer with less then you can do 1/2tbs. Some dogs (and people) don't like the smell or taste of the apple cider vinegar so a good way to mask it is to give it to your dog with low fat plain yogurt. Personally my dog didn't even like it with this so I instead mixed it with wet dog food and mixed that with his regular kibble and he had no problem with it.
Within a couple of days (sometimes even the next day), you may start to notice that your pooch is no longer having accidents or that at least they have reduced in number. ACV works to neutralize bacteria in the dog's urine and help alleviate this condition. The following link provides some reviews of people that have used it on their dogs, read through some of them and see if you would feel more comfortable.
http://www.earthclinic.com/Pets/bladder_infection.htmlIf you have any other tips that worked for you feel free to post them here,
Steven