I got this from Professor Dr Saidur Rahman, from his sharing. This is applicable not only to publications but to a successful PhD completion also. Motivation and Commitment are two important ingredients.
The publication provides feedback on research and really useful to improve the quality of research. It is good to start early!