During your stay, you can file for a work permit if you manage to secure employment in Sweden. Please be aware that you cannot begin working in Sweden right away without first requesting a legal work permit from the Swedish Migration Agency.
And the visa you should apply for if you want to start a company is a residence permit for a self-employed individual.