Leaving my phone on the charger in the bedroom after 5pm completely removes the temptation. If somebody needs to reach me, they can call my wife or just leave a message for me to check in the morning. I've been doing this for several months and it's worked wonders for my attention span, my sleeping habits and my vision.