Kernel mapping to notebook

How to change default kernel for notebook code xyz.ipynb ? I have 3 kernel installed. I copy the code from one location to other. By default, the code opens with python3 kernel. How to map the notebook code to the kernel?