Correct the Behavior, Not the Person
Another good rule of communication is to address the behavior or the result, and don't correct the human being as a human. So for example, if you're late or because of this result, this is the situation. That behavior impacted us in a certain way, positively or negatively, and we need to change that behavior.
So explain the situation. Explain the behavior. Or the occurrence and then the impact of that. And then ask the person at the end, after you explain to them very clearly what's acceptable, what's not, what the consequence is, if there is any. Or is this the last time? Let them know exactly what to expect and then ask the person if you can count on them.
So for example, we've had this conversation, here's the situation, here's the behavior, here's the impact. I'm counting on you to change, and I need to see results that are clearly evident by this time. Can I count on you to do your very best and make this change? And if the answer is yes, you have your answer.
If the answer is hesitation or uncertainty. You also have your answer, so be crystal clear with the communication situation and behavior impact. Correct the behavior, not the human being, but count on the human being and inspire them and let them know that you're counting on them because you want them to be successful and do well.