A key tip from the book is to practice building resistance to caving. Set a time limit for the next time you will check. However short that limit needs to be is fine; the key is to build resistance and extend it. The book argues you need to maintain this ability to resist during off hours, too. It's fine to have long sessions of surfing online and do it more often than during work, but continuing to set limits and resist the urge to just grab it and check is important for not losing everything you may have built up during the day or week.
There is a whole section and recurring theme on the finite, depletable nature of willpower and the end to set up a routine to build habits to protect your willpower reserves. It's very tactical.
I found the many examples of real people applying the principles to their personal situations inspirational, such as from the author himself, professor colleagues, Carl Jung, Don Knuth, and various business and tech folks he interviewed.
Thirded. Read his book. Do what he says.
I'm skeptical of most "self-help" and business books but Deep Work was helpful for me and I come back to the book any time I feel myself slipping. I admit I may be biased towards his work since he is a theoretical CS professor [1] who happens to write books about work and productivity.
[0] https://soundcloud.com/panoply/cal-newport-on-doing-deep-wor...
[1] https://scholar.google.com/citations?user=EhodjeAAAAAJ&hl=en