Lifestyle changes such as weight loss, exercise, and quitting smoking and drinking are recommended for anyone with OSA. More serious cases can be treated with a device known as a Continuous Positive Airway Pressure (CPAP) machine that delivers air pressure to keep airway passages open.