After falling to an abandoned well, a young boy is rescued after he nearly drowns. He is found to have high levels of CO2 and lactic acid and low levels of O2. Diagnose the boy's condition and propose the required treatment to restore this body to homeostasis. Explain why does the boy have high levels of CO2 and lactic acid and low levels of O2?