If you have an iPhone 4/4S, you would have to replace the sim card, but if you have an iPhone 5, you can just pull out the sim with the clip provided with the package the 5S came with, and pop the sim in the sim tray in the 5S.
If not, you would have to go to T-Movile to do a sim transfer.