If it fits, and the phone supports the right radio bands for your carrier, and is not locked to another carrier, you can use it.
If it doesn't fit, your carrier will help.
If the radio bands are wrong, or the phone is locked to another carrier, they can't help.