This only works if your ip4 has baseband 1.59. If it does, install ultrasn0w to unlock it.
Otherwise, your only option is the Gevey turbosim, which may or may not be legal to use depending on where you're going, and may not work with all prepaid sims according to some posts on this forum.