A sudden change often has a medical cause such as a urinary infection, diabetes, kidney problems or incontinence. See your vet first.
If health checks are clear, review stress, schedule changes and marking behavior. Clean with an enzymatic cleaner.
This is general guidance. Ask your veterinarian about your own dog.
Guides like this one are just one part of it. With a free RuffHub account you can:
General information for dog owners, not veterinary advice. Always check with your veterinarian about your dog’s health, diet and exercise. RuffHub is operated by RJ Consolidated Projects LLC, Las Vegas, Nevada.