One simple solution to stop eating junk food at night is to sleep early. By sleeping early you can avoid watching movies late at night and eating fast food. Eat your dinner 1-2 hours before you want to sleep and if you want to feel like eating something you can have a few healthy snacks. You can eat dates, dried fruits or milk before you go to sleep.