You can use a sleep diary or an electronic device to help you track your sleep at night. If you're tracking your sleep manually, write down the time you fall asleep and the time you wake up, as well as any nighttime awakenings.