There are two ways. One is the path of discrimination, the other is that of love. Discrimination means to know the distinction between the Real and the unreal. God alone is the real and permanent Substance; all else is illusory and impermanent. The magician alone is real; his magic is illusory. This is discrimination.
Discrimination and renunciation. Renunciation means to have dispassion for the things of the world. One cannot acquire them all of a sudden. They must be practised every day. One should renounce 'woman and gold' mentally at first. Then, by the will of God, one can renounce it both mentally and outwardly
The other path is that of bhakti, or zealous love of God. Weep for God in solitude, with a restless soul, and ask Him to reveal Himself to you. Cry to your Mother Syama with a real cry, O mind! And how can She hold Herself from you?
These, then, are the two means: practice and passionate attachment to God, that is to say, restlessness of the soul to see Him
The gist of the whole thing is that one must develop passionate yearning for God and practise discrimination and renunciation
-- Gospel of Sri Ramakrishna