Mosfet Gate-Source Zener
simulate this circuit &ndash; Schematic created using CircuitLab

On your schematic the 10k resistor (R1) is not placed correctly. It must be in series with the zener cathode. Then there is another resistor to ground (R2) to make sure the gate is at 0V when the input to gate is off. The value can be between 100k, sometimes even less, and 1M.

The zener must be rated 15V (or somewhere between 10 and 15V) to reduce the voltage to under 20V. The 10k resistor prevent too much current flowing through the zener and just enough for the mosfet gate.