In addition to "Pay attention to how food and drink affect your sleep", I would add Pay attention to how exercise affects your sleep.
In my case, nighttime cardio can keep me awake later. On the other hand, weightlifting late is a significant sleep aid to me.