Breus broke down what they are and when to quit them with these simple guidelines that make up the 3-2-1 rule for sleep: Three hours before you go to sleep, stop drinking alcohol. Two hours before you go to sleep, stop eating food. One hour before you go to sleep, stop drinking fluids.