This question is most relevant for me and I would say in every one’s life. To understand yourself is the key of a good happy & peaceful life. What is the ultimate goal of life? for me peace of mind. How this can be achieve? that is about आत्म साक्षात्कार . we need to introspect ourselves on the activity we did on daily basis & note down those into a piece of paper & use your intellect to do the cause and facts & reasoning of what you did in your day work. Note down the feedback honestly (what did right action? or wrong action?). This assessment is purely for yourself hence it will not reveal to anyone hence no selfish motive required for judgment. Because we never except by default (naturally) our mistakes what we made in our life bez of some of our selfish motive, that is the only reason we never improve in this part and even don’t think. This is reality of our life; most problematic character is our negative ego kill our conscious. Start listing your inner voice(intuition) honestly you should know very well you did wrong or right in your action. It required practice & also depend on how your unconscious mind (note not conscious mind) functioning. Little about on unconscious mind if you feed in this maximum positive action(good Karma) into our unconscious mind your attitude become positive & your body behaves accordingly & provoke you quickly identify & act for good work.
Exact opposite if you have feed maximum negative action (wrong Krama) in our unconscious mind our body behavior will provoke wrong actions naturally. That why Krama says do maximum good work in life selflessly.
Just see my video on Spiritual thought one already shared the link last portion is about good characters will help in this again. I can discuss very log in this.
In nutshell improving your actions in life with the help of आत्म साक्षात्कार is the only way.