Reading is good for this.
Sit down with a novel and leave your phone on the other side of the room. Read. If you get distracted or lost in thought, that's fine—just don't stand up. Stay where you are. When you're done being distracted, go back to the book.
It really makes a difference.