To make sure your body is prepared for the unexpected, you need to train it for a variety of situations. When eating, you'll need to randomly intersperse not eating and eating absurd amounts. This way, your stomach won't know what to expect and can be caught off guard.