If I read your message correctly, you are trying to use your iPhone with a different carrier's SIM card and it is telling you that it is not compatible. If that is the case, then your iPhone is locked to a carrier, so you would need to go to that original carrier and have them follow the steps to get it unlocked. Some carriers/countries offer this for free (as required by law), some charge a fee for that. It would all depend upon which carrier your iPhone is locked to.