To use a Realm invite on Nintendo Switch in Minecraft: Bedrock Edition, you need to accept the invite and then join the Realm
First, you'll likely need a Nintendo Switch Online subscription for online play. You then need to enter an invite code, which is given in the Whatsapp group to parents. Finally, the Realm should appear in your list of joinable Realms.
Here's a more detailed breakdown:
1. Check for the Invite:
2. Join the Realm:
3. Platform Subscription:
You can watch this video to learn how to join a Minecraft Realm on Nintendo Switch (or similar):