Your best tool is your brain. Regular maintenance and changing consumables of worn parts like chains tires, brake pads, cleaning drivetrains, torqueing to specs, or paying the LBS to do it for you, will prevent most issues as long as you do not crash or get hit.
Spare tubes and a flat repair kit are a given.