Sometimes the outside world intrudes too much. When it does, I put on headphones or earbuds and cue up some soothing sounds, like instrumental music or a sound app with rain sounds or a creek burbling. I can write just about anywhere, however busy or noisy or otherwise distracting the place may be, just using this one trick.
My favorite tools are the Noisli app (or website), or just open up YouTube and search “rain sounds.”
This tip is from 19 Tricks to Shatter Writer’s Block. If you missed any of the previous ones, you can find them all in the Hack Your Noodle section of Read Write Repeat.