Hi Nhi, the correct version of this sentence is: How many times have I told you you have/had to be on time? Use "have" if they need to continue to be on time. Use "had" if they needed to be on time in the past but no longer need to be. Hope that helps!