New to iphone and a bit confused ??

Hi, I am just about to buy an iphone 3g but have one question, I have a contract with o2, I took it out as it was a cheap monthly payment and got a nokia 5800, if I buy an iphone on pay as you go can I use my contract sim in it or does it have to be jailbroken and unlocked or just jailbroken, sorry if it's a stupid question but I can't seem to find the answer, also does this mean that I still wouldn't be able to update itunes? Thank you.. 😕

Original thread: https://forums.imore.com/threads/new-to-iphone-and-a-bit-confused.171123/