When to fix your sleep yourself, and when to talk to a doctor