When will a female dog stop breeding?

a dog will stop when it is 7 years old.