Having owned many dogs over the years I highly recommend crating the dogs when you can't keep an eye on them, as in going to the store, etc.
When you are home, keep an eye on them and as soon as they wake up, take them outside and PRAISE them when they do their duty out there.
12 years ago I had 4 dogs, all rescue dogs, arrive at my home, three puppies and one adult. With the 12 week old puppies I felt as if I had a mop attached to my hand 24/7. I went and bought crates and problem solved.