Can i unlock my iphone 5 from sprint to tmobile if so how can I?

I have had this iphone for about 2 months now but now I'm transfering to tmobile but my iphone won't let me

No, its not possible

1. You go to (settings )
2.go to (wireless and networks )
3.go to( mobile networks)
4.go to (network operators)
5. Then (search networks)
Then yo go to t-mobile

If you are using an unlocked iPhone then it is possible. If not, you have to 'hacktivate'.

Actually, you will need to purchase a factory unlock for your iphone. Email me at stefan_zxcvb@live.com for the unlock. I can help you out