It’s all about training and patience.
When your dog is about to pee or shit at the wrong place, bring it to the place where you want it to do the business, and praise her for doing a good job. If your dog already did it at the wrong place, dab the pee with tissue and dab it on the newspaper where you want it to do the business at, so your dog will know that that’s the place where it can do it.
Then wipe the place where your dog pee or shit with vinegar to cover the smell.
thxi will try it.