Avoid eating heavy food before going to sleep. Protein requires a lot of time and energy to digest which keeps your digestive system active and it could affect your sleep.