How is pyometra treated? "The preferred treatment is to surgically remove the infected uterus and ovaries..." The preferred treatment is to surgically remove the infected uterus and ovaries by performing an ovariohysterectomy (spay). Dogs diagnosed in the early stage of the disease are very good surgical candidates.