Question: how to train dog not to pee or poop in the house?
Answer: Make sure she is on a leash about 6 feet long. Make sure there are no play triggers around, such as toys, pets, children, etc. Ignore the dog. Don't talk to or play with her, don't yell at her and don't point out any poop. Just walk back and forth, and don't make a big deal about anything.