Training to go to the toilet.
It is necessary to take him out for a walk twice every morning and evening, so that basically the dog will not poop at home.
Prepare a tray at home and put it in a designated place, keeping a certain distance from the surrounding walls. Then dip some of his urine in the newspaper and put it in the tray. Take the dog to the tray and smell it. Tell him the poop should be here.
After that, if the dog urinates anywhere, it should be educated in time. Before taking it to its poop, point to it and tell it not to poop here. At the same time, hit him on the head with a newspaper. Then take him to the tray and tell him the poop should be here. Repeat it several times, and the dog will have a long memory.
The most important thing is to use disinfectant (available in pharmacies, which is better for pets). Wipe the floor after dilution. Disinfecting water will eliminate the smell of dog poop, which will not only keep the smell of your home, but also prevent dogs from coming back here to poop.
Another way is to enclose a small area with rice bowls and water bowls on one side and trays on the other. When the dog learns to poop on the tray, expand the area and expand it a little bit, and the dog will get used to going to the tray to go to the toilet.