how do you deal with a dog who hadn’t been out…

how do you deal with a dog who hadn’t been outside in 5 days?