We study a Markov quality control model in which we may either reset the machine or keep the machine producing items. Both discounted and average costs are considered. We shall show that a monotone policy is optimal and show how to compute the optimal critical point. Two special models are studied along with some numerical results.