The sooner the better, for many reasons. The most important reasons are:
Your code base is growing, and with that your technical debt. The longer you wait, the more code that needs to be rewritten.
TiCS does not only point out the issues with code quality, it also educates the developers in writing better code. It takes time and effort to improve the development skills of your developers.