Getting a good night’s sleep is important in case you want to be refreshed in the morning so that to keep being productive. What is more, you will soon realize that you cannot fully function unless you have slept a decent amount of hours.
The most important tip you should take into account is to have the so called sleep regime. What it presupposes is that you should go to bed and wake up at the same hour every day. In such a way, it will be easier for your body to get used to this regime. Apart from that, try not to keep any electronic devices in your bedroom as light that comes from them might interfere with your sleeping habits.
Make sure that the temperature is appropriate in your bedroom as it is much more difficult to fall asleep when it is hot. Avoid alcohol, food that contains a lot of fat as well as coffee a few hours before you go to bed. Exercising in the evening also helps.