dude
please tell your iphone model is it 3gs or 4.
also now if your iphone has the 4.3.2 version
and wants to jailbreak your iphone
download redsn0w here the
link
then run it and connect phone in the dfu mode
and select jailbreak.
have fun
For Unlock
if your iphone is iphone3gs then
on jailbreaking use the option to install ipad baseband
please note the warning of the ipad installation of redsn0w
most consider the second one that your iphone should be of model
2011 32 week one
if your iphone 3gs is of new model and fail the criteria given by the redsn0w in the second warning then
you must give me your imei of the phone and get it factory unlock
or
if you have iphone 4 then after jailbreak you can use
gevey turbo sim
or can do the factoy unlock
give me your imei i will tell you the operator of your iphone.