How do I know when it is time for a new roof?

Looking at our roofs is not always something that we are very good at doing and to be fair if they are not leaking we assume they are doing their job.