TL;DR: You cycle through different stages of sleep: light sleep, deep sleep, and REM, with the last two being most important. Keep your room dark and between 15 - 19oC, eat during the day, and most importantly, sleep while the sun is down and be awake and active while the sun is up.