Your T-Mobile phone needs to be compatible with the operating systems supported by WhatsApp, more exactly:
iPhone
Android
BlackBerry
Nokia S40
Nokia Symbian
Windows Phone
To download the application, access the official website and click on the platform which corresponds to your mobile phone then follow the instructions.