I have a 2 year old Pit that I got from the shelter and she will not stop going to the bathroom in my house, no matter how much I take her outside. I have rubbed her nose in it and told her no! I have tried giving her a treat and praising when she goes outside only to have her come right back in and go again in my floor.
Normally a rescue dog is abused and lives in very dirty conditions. That is one reason the dog is pooping and peeing in your home. The second reason could be is the dog is marking his/her territory. I think it would be a good idea to have the dog fixed if it hasn't been done yet. Normally, they will fix dogs now before they adopt them out.
You are going to have to get a kennel for your dog I am afraid. You might need to keep the dog in the kennel when in your home. This doesn't need to be a permanent situation, but a temporary one until the dog learns to stop doing this.
You are doing the wrong thing when your dog wets in the house. That sends the wrong message, and confuses her even more. What you want is for her to understand what she needs to do. When you "rub her nose in it" she most likely has no idea what you want from her. Unless you catch an animal within 10 seconds of making a mistake, they do not connect the act with your reaction. They just get more confused and frightened. A frightened dog is not thinking or learning, she is just reacting.
Maybe sitting outside with your dog for awhile different times of the day (if you can, meaning time permitting) and have some "treats" with you - that way each time she goes potty after sniffing around and she gets more familiar with everything outside, you can show her those that every time she goes, she gets a treat. She'll put it together sooner or later, but, in the meantime, maybe watch some Utube video's on dog training (I'm sure they've got some) and that will help you help her better so she'll be a great companion to you forever.
Your dog could be reacting to changes in the household or possibly have a health problem. This page is about previously house trained dog peeing indoors.
It is frustrating and confusing when your house trained dog backslides. This is a page about what to do when a previously house broken dog has started pooping in the house.
Introducing a new dog into your home can cause stress to other pets you may already own. This is a page about dog peeing inside after new dog arrived.
This is a page about dog in heat peeing inside. It is frustrating when a house trained dog who is having her cycle starts peeing inside.
There are many reasons a previously house trained dog begins to pee in the house, including advancing age. This is a page about old dog peeing in house.
This is a page about when a dog pees in house when left alone. Even a house trained dog will have accidents under certain circumstances.
This is a page about what to do if a dog pees in the house when excited. Some dogs can accidentally pee when they become excited.