Sleep apnea can be managed with continuous positive airway pressure (CPAP) and other treatments. But certain lifestyle habits can exacerbate the symptoms of sleep apnea.