If you have trouble sleeping when you get in bed each night, just follow these steps. No exercise or caffeine drinks 3 hours before bedtime. No TV 30 minutes before bedtime. Eat a small carb snack (2 cookies and small glass of milk) 1 hour before going to bed. Take a warm bath just before you get in bed.