I bought an iphone 4 last year but its locked under T-mobile and i dont no how to unlock it?

so i can use it in other country but dont no how to do it can someone help me plz?
thanks
3 answers 3