Housebreaking adult dog.
Most puppies can be housebroken prior to 8 months of age using traditional methods.
With the exceptions of territorial urine marking, illness, or (rarely) separation distress syndrome, dogs go to the bathroom in the house for one reason: they have never been properly housetrained by the owner.