A method for regulating gas flows into and out of a patient includes repetitively forcing respiratory gases out of the lungs. Respiratory gases are prevented from entering back into the lungs during a time between when respiratory gases are forced out of the lungs. Periodically, an oxygen-containing gas is supplied to the lungs.