A wet patch under the relief pipe can mean three different things, and only one of them is the valve.
Read the pattern
During heating, then stops. Expansion. Water grows as it warms and a closed system has to put the extra volume somewhere.
Constantly, with a cool tank. A seat that no longer seals.
With a very hot tank. A control stuck on, or a supply pressure fault. Stop and investigate; replacing the valve would hide the warning.
After cold weather. Ice in the valve or the discharge line.
Test before swapping
Lift the valve by hand, watch it close. Check the expansion vessel's charge and whether the air side holds water. Watch the gauge through a heating cycle. Then look at where the pipe ends.
The discharge decision
It must be able to drain, must not scald anyone nearby, and must not sit in a shaded corner that ices over. That is a design choice on a hillside property.
Fitting the new valve
Water off, drained below the port, correctly rated for the tank, fresh sealant, discharge adjusted if needed.
What to have ready
The pattern, the gauge behaviour, and the pipe's destination.