When is the best time 2 have a dog spayed?

j2bored asked: I recently rescued a puppy that was treated really badly – she is roughly 10/11 months old has just come in2 season – does anybody know when is the best time 2 hav her spayed?