You can remove and replace a nano SIM or optional microSD card.
Insert the tool into the hole in the tray and gently push to pop it out.

To insert a SIM card, put it into the tray with the gold contacts facing up; if you are using a single SIM, put it in the SIM 1 position. To put in a memory card, turn the tray over.

To remove a SIM card, turn the tray over, insert the tool into the hole behind the card and push gently to pop out the card (remove SD card to expose hole).
Push the tray back into the phone.

When two SIMs are inserted, you see
at the top of the Home screen. If you see
, troubleshoot the issue.
You'll need to choose one of two formats for your SD card: portable or extended internal. Need help deciding which format to use?
Portable storage
When you insert an SD card, it’s automatically set to be portable storage for media files, letting you easily swap the card and its content between devices.
Make sure that you set your storage location within media apps, such as Camera and Play Music.
Extended internal storage
Instead of using it as portable storage, you can set your SD card to be internal storage, extending your device storage for large applications, games and their data.
To format your SD card as internal storage:
Follow the onscreen instructions.
Learn more about managing your SD card.