In order to join your family or relative in Sweden, you must have a residence permit. Read more on the Swedish Migration Agency's website about how to apply for yourself and on behalf of your child.