Adjustable hospital beds help people with sleep apnea to sleep in a position that reduces airways blockages. Lying flat on your back makes an airway blockage more likely. Sleeping with your head raised can prevent the blockages that make you wake up.