You must apply for a visit visa to Sweden at least 6 months prior to your planned trip.