A mile or less from home, I'd consider returning home just to grab another spare and go back out for a ride. Any farther away and I'll just fix the problem and keep going -- that's happened a couple of times when I was close enough to walk home but preferred to keep riding.
I'm always mentally prepared to keep going. I'm single, wouldn't call a friend unless it was an emergency and couldn't get to a city bus, an Uber or Lyft. I'm not even sure I could get an Uber or Lyft on the rural routes where I ride some days.
Occasionally I'll stuff a spare folding tire into my jersey to strapped to the bike if I'm planning on a long rural ride well away from home. If I'm on the road bike and needed to walk I'd remove the cleats (old style Look delta) to make it a little easier to walk. Usually I carry only a single spare tube and Lezyne self adhesive patches. So far that's been good enough to handle any flats I've encountered, even when broken slate slashed my tire -- it was still rideable with a boot.
I used to overpack and overprepare on the hybrid but I don't do that so much now. I ride that with platforms and walking shoes so I'm prepared to walk home if necessary.