Question: how to train your dog not to pee on furniture?
Answer: Take your dog to the veterinarian, especially if it was previously housebroken. A sudden loss of bladder control may signify a medical problem that needs attention.
Clean the urine immediately with an enzymatic cleaner. ... 
Neuter the dog. ... 
Take the dog out for more walks. ... 
Crate the dog.