A soldier faces enemy fire. He can charge recklessly or run away. The brave act lies somewhere between. Aristotle says you become courageous by doing courageous things until it feels natural.
Virtue ethics says right action flows from good character. You do not calculate outcomes or check rules every time. You become the sort of person who sees and does what is right. Aristotle's doctrine of the mean says virtue is the balanced spot between excess and deficiency. Courage sits between recklessness and cowardice. The mean is relative to you and the situation, but it is always the excellent response.
You acquire virtues through habit. Repeated right actions shape your desires so that doing good eventually feels good. The goal is eudaimonia, a flourishing life lived well. Character trumps rules or results because even perfect rules need a good person to apply them.
Virtue, then, is a state of character concerned with choice, lying in a mean, i.e. the mean relative to us, this being determined by a rational principle, and by that principle by which the man of practical wisdom would determine it. It is a mean between two vices, that which depends on excess and that which depends on defect; and again it is a mean because the vices respectively fall short of or exceed what is right in both passions and actions, while virtue both finds and chooses the intermediate.
β Aristotle, Nicomachean Ethics, Book II, Chapter 6 (trans. W. D. Ross)
Aristotle defines virtue as a stable state of character. The mean is not a mathematical halfway point; it is the right amount for the person and situation, spotted by practical wisdom. Excess and deficiency are the two ways to miss. You hit the mean by practicing until you see it automatically.
A doctor who has practiced honest communication for years tells a patient bad news with calm clarity and compassion. The action flows from cultivated virtues of courage and justice rather than a checklist or a calculation of likely lawsuits. The patient feels respected even though the news is painful.
You face a situation where the mean is hard to see and your character is not yet strong enough. Do you fall back on rules or calculations, or does that prove you still need more practice?
Quick reflection
According to Aristotle, how do you acquire the virtue of courage?