It's recommended that you put the console into sleep mode when you stop playing. This will reduce battery consumption and will allow you to quickly resume playing.
If you want to turn the console off completely, do the following:
Hold the Power button for three seconds to open the Power Menu.
Select "Power Options" and then "Power Off".
Make sure you save your progress in a game before turning off the power. Any unsaved progress will be lost.