Ideally, quality gates should implements from the beginning of a project, but you can also introduce them retrospectively in an ongoing project. In such cases, thoroughly assess the project’s current status to identify critical points and establish appropriate criteria and thresholds. It may require adjustments to align with the project’s progress, but implementing it can still benefit by minimizing further risks and improving the remaining development process.