Put your phone in another room when you need to think.
In a randomized study, students whose phones were physically removed during a lecture scored ~16% higher (whether phone use was allowed or not).