Try to take your basal body temperature after the longest number of hours slept. It's better not to take it in the middle of the night, as morning temperature readings are more accurate. Don't worry if you go back to sleep after taking your temperature. For example, if your baby wakes up at around 5 am, and you've been asleep for at least three hours, take your temperature then, even if you're going back to sleep.