Q. Why is my dog getting stuck in small spaces and peeing on beds?
DESTINI R. HOLLOWAY, DVM
A. I am unsure what you mean by getting stuck in small spaces. If by this you mean your pet has abnormal mentation and seems to walk around aimlessly and will get stuck in a corner of the house just staring at the wall, then this is a sign of possible dementia or what is better known as Cognitive Dysfunction. This can be treated medically with a drug called Selegiline prescribed by your vet.
Also if he typically lays on the bed and pees, then I would be suspicious that he has either incontinence or a urinary tract infection. UTI's typically involve excessive urination and the urine can have a foul odor or blood in it. Urinary incontinence pets typically don't have either of these present. Your vet will want to do a urinalysis first to differentiate which one is happening in your pet, then the proper treatment can be selected.