Just bough an iPhone on Vodafone but need to to work on '3' how do you unlock it?

Thanks