Definitely avoiding screens. Put your phone into do not disturb early at night like 8pm. Try reading or journaling before bed instead. I think best you can do is create good night habits and you'll have less of those nights. What I have experinced first hand. I sleep much better now