Unspayed female dogs can have their first heat cycle anywhere between 6 and 15 months of age. During heat, which happens every six months or so and lasts a few weeks, your dog can get pregnant. Spaying your dog prevents pregnancy, lowers her cancer risk, and may even lengthen her lifespan.