If you are planning to visit Sweden temporarily but to stay longer than 90 days, you should apply for a visitor's permit.
Visit Sweden for more than 90 days