A step-by-step guide to optimize your sleep patterns, create a sleep-friendly environment, and set consistent routines for shift work.