Sleeping badly could be lethal – here’s how to fix it