How do you play the note d on trumpet?

to play the note d on a trumpet you have to push down the first valve and the third valve together