Question: how to play pokemon sword and shield online with friends?
Answer: To play against friends online in Pokemon Sword and Shield you simply need to open the Y-Comm menu by pressing the Y button. If you want to play locally you can connect between your friend and you by selecting the Link Battle option in the Y-Comm Menu.