At the time of death, whatever you are thinking, that means you are preparing your next life like that. Therefore the whole life shall be so processed but at the same time, at the end of our life we can at least think of Krsna. Then sure and certain you go back to Krsna. This practice has to be done. Because unless we practice while we are strong and stout and our consciousness is right thinking. So instead of wasting time in so many things for sense gratification, if we go on concentrating on Krsna consciousness, that means we are making a solution of all the miseries of our material existence. That is the process, Krsna consciousness, always thinking of Krsna.
>>> Ref. VedaBase => Bhagavad-gita 3.17-20 — New York, May 27, 1966