It is recommended that you stop eating about three hours before you plan to go to bed. This will give your body enough time to properly digest the food you have eaten without disrupting your sleep, but also allowing time to notice any symptoms of acid reflux or any other digestion related irritation.