In my own opinion I will say its good to work for a company for few years to gain enough experience and resources then one can now establish his/her own company
Experience they said is the best teacher
And if a novice built a company he has no experience about there is possibility of such company collapsing in the long run