Patty nailed it… when you have an issue, you have to go back as if a puppy and start anew, which means you leash her to you at all times, say NO if she starts to go, take her out, praise and treat. The good news is unlike a puppy, it will go faster. But making really sure the room has been cleaned of odors using some enzymatic sprays/cleaners is a must.
http://www.cuhumane.org/topics/hseold.html