I need to unlock my iPhone 5?

I have a iPhone 5 with t mobile but I need to unlock it so I can switch companies. I want to unlock it for free but with no surveys or any stuff like that. If you could tell me how that be great

Have you ever used the internet?