If you will be starting another type of studies than those for which you currently have a residence permit, you must submit a first-time application for the type of studies you intend to start. This means you should not apply to extend your current residence permit.
If, for example, you are currently studying at a folk high school with a residence permit for other studies, but plan to start studying at a higher education institution, you need to apply for a residence permit for first- or second-cycle studies.
For most residence permits, you must be outside Sweden when you receive a decision about a first-time application. In some cases, you can apply for a residence permit while you are in Sweden with another valid Swedish residence permit.
In the guide below, you can see what applies in your situation: