Hi,
Thanks for asking your question on Just Answer. I share your concern for your dog. Your dog has either a urinary tract infection or possibly bladder stones. Your veterinarian will want to do a urinalysis and potentially abdominal xrays to rule bladder stones in/out. If it is a urinary tract infection, your vet will put your dog on antibiotics. If there are stones present, depending upon the pH of your dog's urine and other factors like how large they are, your dog may be treated medically or the stones may be surgically removed.
Please let me know if you need more information. I hope this is helpful.
I share your concerns and am glad you have sought out help. I strive to provide you with excellent service. If this information has been helpful to you, please Accept! Bonuses are ALWAYS APPRECIATED.