In Spanish, all consonants are pronounced clearly, they are short and never aspired.
The sound [d] is represented by the letter D (de). It is similar to the English [d] in did. It should be pronounced short, without aspiration, tongue not moving.
The sound [t] is represented by the letter T (te). It’s pronounced in a similar way but not voiced.