There are different stages in chanting the the Holy Names; in the early stage, the mind wanders off most often, but Lord Krsna said we should the drag the mind back and fix it on the Holy Names. By regular practice and detachment, and the mercy of the devotees, the Holy Name can be attained.