How does a prostar become a star?

Can you answer this question?