If your dog tries to urinate but no urine comes, it may be because inflammation is irritating, but it may also be because a urinary stone has stuck and blocked the urethra, which can be life-threatening for the dog. Namely, urinary retention can lead to kidney failure, which can be life-threatening. If you suspect that your dog cannot urinate, you must always contact a veterinarian urgently.