Surgery can help alleviate obstructive sleep apnea by removing or reducing obstructions in the nose, palate, tonsils, or jaw. The specific procedure depends on the cause and severity of the condition.