Pyometra is a severe bacterial infection of the uterus that can be potentially life threatening. The condition is most common in older, unspayed female dogs that have never had a litter, but it can occur in any female dog or cat that has not been spayed. In dogs, pyometra is most likely to happen in the first few weeks to months after a heat cycle.