You need to either validate or convert your licence according to EU regulations. The provisions for this can be found in the Delegated Regulation (EU) 2020/723, which is a found at EASAs website: Commission Delegated Regulation (EU) 2020/723

If you who have a FAA certificate issued, it may also be possible to convert through the BASA agreement Annex 3. More information about this can be found at Information regarding conversions of FAA certificates for aeroplane into Part-FCL licences

More information on the possibilities for validation and conversion of a licence issued by a third country can be found on the Swedish Transport Agency's website.