How do you replace the thermostat on a 1992 Subaru Legacy?

it is in front of the engine block under the water pump kinda low on the engine