A second common way to mess up housetraining your puppy or dog is to walk her when she needs to pee or poop.
Give the puppy 2 or 3 minutes to eliminate.
If she does, praise her warmly and take her for a walk.
If she doesn't, just bring her back inside without comment, and crate her or keep her on leash next to you.