Getting closer to God is not a 5-step plan we walk through and say we have finished. It is a way of life. Keep seeking to get closer and know God is moving towards you faster than you are moving towards Him. This commitment will not remove all temptation or make you perfect. When you fall, do not let the shame of sin and lies of the enemy move you away from pursuing closeness with God.
Through confession, Bible study, prayer, regular worship in community, and obedience, we can develop a closer relationship with God. We know relationships take work. We know that we have to be honest with one another, care about the other, spend time together, and value what the other has to say. it's not really that different with our relationship to the Heavenly Father. When these things are priority in your life is when you will feel closer to Him and the strength to deal with temptation and all that life brings.
1 Chronicles 16:11