means that
dealing with a small problem promptly can prevent it from becoming a much larger and more costly one.
The saying “A stitch in time saves nine” can be used when it is better to deal with problems immediately, because if you wait, things will get worse.