The Good works come in the sanctification process. God does the work through us. First we must be born again and justified however. The first step is to be poor in spirit and have a need for our Savior.
The works here would be turning to the Lord for repentance and asking for his help in removing sin then when tempted again, suffering the temptation of choice to live a better life with a stronger Faith or falling back on old behavior. This is regeneration. Lip service won’t save anyone.