Your son needs to get his own account in his name. Do this first to ensure he passes the credit checks.
Once he has the contract, you can call O2 to migrate the number if he wishes to keep it.
You both need to be on the call together. Moving the number to the new contract will automatically end the old one too.