1st case, whether you are adhaar enabled or not enabled has to be checked/known. If it is adhaar enabled, then there is single form for withdrawal has to be filled or if it is not enabled, 2 separate forms have to filled.
first before withdrawal, make sure all transfers previously to be done has happened. Then go for withdrawal.
KYC also has to be fulfilled , if you wish to go direct to PF, else u need to go through employer