How do i trade with 3ds

am just wondering because my friend wants to trade with me but hes on 3ds in sun and moon

You can’t Citra Emulator does not connect the Nintendo Servers. Since it cannot connect to servers of Nintendo you can’t trade with your 3DS.

thanks for telling me