Yes, it is possible to spay a cycling dog. However, it has a greater risk of complications than spaying a dog between cycles. The decision will be individual to every situation, and your vet has the final word.
Read more