First one has to renew one's mind:
Rom 12:2 And be not conformed to this world: but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect, will of God.
Then you have to use your renewed mind with humility:
Act 20:19 Serving the Lord with all humility of mind, and with many tears, and temptations, which befell me by the lying in wait of the Jews:
Then you have to use your renewed, humble mind to fight sin:
Rom 7:23 But I see another law in my members, warring against the law of my mind, and bringing me into captivity to the law of sin which is in my members.
We are to use our renewed, humble mind to fight sin and love others:
Rom 12:16 Be of the same mind one toward another. Mind not high things, but condescend to men of low estate. Be not wise in your own conceits.
And by being humble, fighting sin and loving we can use our mind to, glorify God:
Rom 15:6 That ye may with one mind and one mouth glorify God, even the Father of our Lord Jesus Christ.