It would be better if you provide the make, year and model of the car, so we could help you better. Normally the PIN is given to you by the car dealer.
Hi, when it is a new not programmed fob you need to obtain the pin code from the dealer, when it is his own fob it only need to be reprogrammed/synchronized ,see you tube on how to do this.