it should switch automatically, some computers run from the onboard intel GPU in order to save power or convert video for playing on a phone and use the Nvidia GPU for gaming when it needs more power.
Are you having any specific issues that leads you to believe this is not happening?