Very few people practice proper sleep hygiene and their sleep suffers as a result. Generally speaking, you should:
Stick to the same sleep and wake schedule.
Minimize blue light from screens (this can be done using F.lux on your computer and “Night Mode” on your mobile device).
Set the temperature in your room to between 60-65°F (15-18°C).
Make your room as dark as possible.
It can be easy to minimize the importance of sleep, but it’s absolutely essential for optimum performance. In fact, sleep is so crucial that Arianna Huffington devoted an entire Ted Talk to it.