When lying on the bed going to sleep it is good to make resolutions for the next day, and to express our determination before God to serve Him the next day. We can go over in our minds how we will begin that service and in what order, as soon as we awake.

Yitzhak Buxbaum in Jewish Spiritual Practices