Whether the gospel is preached from the pulpit, taught in a classroom, or revealed in one's personal study of the Bible, the Holy Spirit teaches those that have his indwelling presence. Those that do not have the Holy Spirit can not know this relationship, nor can they know the workings of the Holy Spirit within a believer. Those who are born again learn in the beginning the basic doctrines as babes in Christ Jesus and as they excercise their beliefs and mature in their spiritual growth, they learn deeper and meatier doctrines of Christianity.
The man without the Spirit does not accept the things that come from the Spirit of God, for they are foolishness to him, and he cannot understand them, because they are spiritually discerned.
1 Corinthians 2:14