If you live abroad, the first step is a residence permit as their partner. If you already live in Sweden, the question is citizenship.