On a standard B♭ trumpet, the written D (4th line, treble clef) uses:
Valves: 1 & 3 (first and third valves depressed).
Concert pitch: C (since B♭ trumpet sounds M2 lower).
Alternate: Some players use 1-2-3 for better intonation on certain horns, but 1-3 is standard.