Question: has told or had told?
Answer: But if you gave him a standing warning that he later ignored, the perfect tense (I have told) is better. You can even write I had told him to emphasize that your warning was in the past. First, have / has + past participle = present perfect, not past perfect. Past perfect is in the form had + past participle.