Do not eat before going to bed. Even if you feel a bit hungry, remember that your body doesn’t know your plans of going to sleep soon. It might think you have a long working night ahead of you and it’s time to “fuel up”. Since you don’t need energy for sleeping, you don’t need to eat, otherwise right after you fall asleep with a full stomach, all the food you put in will go directly to storage for future use, as in settling down on your body parts as fat. If you feel really hungry, then eat some fruit to fill you up a bit and go to sleep with a clear conscience.