Hi my iPhone 3gs is locked to o2 (UK) and I want to use it with my 3 sim which Is on contract. Anyone know how I unlock it?

Thanks