Drain the coolant so its level is below the thermostat.
Remove the inlet fitting and gasket.
Remove the thermostat.