You wear a mask over your nose or nose and mouth while you sleep. The mask is connected by a hose to a small machine that sits at the side of your bed. The machine pumps air under pressure through the hose and mask and into your airway while you sleep. This helps keep your airway open.