Please choose the correct solution to the question: how do you stop a dog from having puppies?

Solution1: don't let them around any other dogs.

Solution2: spay or neuter the dog.

Answer format: solution1/solution2