i have never been able to get a dog to use a pee pad. i need to be trained on this

all of my dogs have always been trained to potty outside...but in the winter..or rainy days...pee pads would be a nice help.
i have a friend who uses a doggy litter box. her dog has actually never been outside

and she is 11 years old!!