"T" sound is unvoiced sound, and "D" sound is voiced sound. In order to check whether your pronunciation is correct, you should touch your throat. If you feel some vibration, your sound is "D" sound. In this way, you can check your pronunciation between "S" and "Z", "P" and "B", "K" and "G" etc...