I was reading Cal Newport's book where he talks about digital minimalism. His whole point is that constant phone checking trains your brain to crave distraction. So he suggests methods from his book, like turning off all non-essential notifications and actually scheduling specific times to look at your phone. It sounds strict but the idea is to rebuild your ability to just sit with a single task.