Bell train your dog to let you know when they need to go outside. Ring the bell every time you go thru the door to the outside.

Bell training bells
Bell training bells — photo 1 of 1Photo: Courtesy of symphonyfurniture.in