Unfortunately, there’s no single answer to the question of when to replace tires. Keeping a record of the last time you changed your tires can be a good indicator, though few people do. There are also ...
A flat tire can happen at any time, so it's best to familiarize yourself with the tools and process before you find yourself under pressure.