There is a magnetic force created by spinning bicycle tires that causes glass and debris to jump towards the tires.
Ok, you didn't mention front or rear. Even if a nail or screw is lying flat and you hit it with the front wheel, it can kick it up to damage the rear. It is rare that I'll get a nail or screw embedded in my tire. Glass. Radial tire wires, etc. But not nails.
Research your sealants. The green goo will last forever, but is more to clog holes than to patch them.
The latex will essentially form a permanent plug (which is used with the tubeless tires). But, it is probably best for smaller types of damage, not huge nails and screws. And it periodically needs refreshing.