There are two ways to transfer screenshots off the Nintendo Switch: with a microSD card, or through a Twitter or Facebook account.
To take a screenshot on the Nintendo Switch, you'll just need to press the console's dedicated screenshot button.