Santosh,
Good question which depends on nature of the person. If you have firm idea and determination to do something it should be targetted and should be considered as your motive... For example if your are interested in IT career then some aim should be set as doing Btech then trying for software company etc...To set this aim you can follow your friends who are in high position or merit list in your class.Just thing that if he can get why not me...on trying with full dedication any impossible thing can be made possible..
However if the person is very weak in nature and often take things unseriously then no one can help him get motivated..
I think this proverb is well suited
"Where there is will there is a Way"
Any person should have will to get motivated and setting his mind under control then automatically motivation comes..
Hope this helped you
Regards
Rajani