One cultivates good character by educating oneself (reading and reflecting on ideas), and examining oneself, observing others’ behavior, and putting one’s principles into practice.
The main point in self-cultivation is not about abstractly defining good or right, but rather in how to become a virtuous person (practical action).