I started using the "bedtime mode" on my phone. I set it up so it starts automatically at night time, whether I'm awake or not. It turns the phone black and white to help make it a little more uninteresting since there aren't anymore shiny colours. Not to mention, blue light is gone which can trick our brains into thinking its daylight, whether we want it to or not. It also turns on do no disturb so the only thing that will come through is the morning alarm. It's helped immensely to get better sleep. 99% of the time any messages can wait.