What is the best way to: how do you stop a dog from having puppies?

OPTIONS:
[1]. don't let them around any other dogs..
[2]. spay or neuter the dog..
Answer:
[2].