Answer:
Protostar is the earliest stage.
This is when the light and heat given off is caused by the friction of the gases passing each other and not by nuclear fusion. This part of the stars life usually lasts about 150,000 years, then it condenses enough to being Nuclear Fusion and a real star is born.
See related question.