What you eat for dinner has a big impact on the quality of your sleep.
You shouldn't go to bed hungry, else you're likely to wake up in the middle of the night with a rumbling stomach. But you shouldn't eat too much either, because the huge amount of energy required for digestion is detrimental to your sleep.
Likewise, too much fat will slow your digestion down, leading to stomach ache. And don't drink alcohol in the evening! Even in small quantities, it alters deep sleep, makes you wake during the night and encourages sleep apnoea.
Finally, don't eat too late: ideally, there should be a two-hour gap between dinner time and bed time.