My jailbroken iPhone 4 can't connect to SIM-card after update?

The title says it. I have a jailbroken iPhone 4 and as I plugged it into my computer it asked me if I wanted to update the IOS. The updating-process went smoothly, but when I started the phone afterwards it said that it was unable to connect to my SIM-card (that i bought 2 weeks before this).

Does anyone know how I can unlock my iPhone?

Hi, it seems your iPhone is locked to a different carrier than your SIM card belongs to. To check the original carrier, use some of the carrier checkers available online (see the attached links). The price of a factory unlock (the official option to unlock your iPhone and use it freely) depends on the original carrier. I suppose you are not the original owner of the phone. If you are, then just contact your carrier (the one you bought the iPhone from) to unlock it for you.