PAC code stands for Posting Authorisation Code. You need to give your new provider a PAC code in order to transfer your old number to a new provider.
STAC code stands for Switching Termination Authorisation Code. If you wish to switch providers without porting your number, this is the type of code you need.
For more information on switching mobile providers, please click here.