Moderate exercise a couple hours before Retiring aids in getting sound sleep. If you are too active too close to retiring, you may take longer to relax enough to doze off.
Moderate intake of proteins, such as a glass of milk, also helps you sleep soundly.