Worth carrying with you
Two or three tire levers, a spare tube or a patch kit, and a portable pump are enough to fix most flats on the spot, wherever you are. Swapping in a fresh tube is generally faster and simpler than patching, so many riders default to a tube swap first when they're short on time mid-ride.
Habits that prevent flats in the first place
Keeping your tires inflated to the recommended pressure before you head out, and periodically checking that the tread isn't badly worn, go a long way toward cutting down how often you get a flat at all.
Frequently Asked Questions
Which is better: patching or replacing the tube?
Patching is cheaper and slightly better for the environment, but the adhesive needs time to set. Replacing the tube costs a bit more but gets you back on the road much faster, which is why many riders reach for a spare tube first when they need a quick roadside fix.
What if I can't find where the puncture is?
Try submerging the tube in water and watching for bubbles, or inflating it a bit more and listening closely for a hissing sound. If you still can't find it, installing a new tube is the safer bet.