You need a porting authorization or PAC code to keep your number while switching. This code is to be given to your provider for a smooth transition from one provider to another.