How do you replace the thermostat located on a 1998 Ford Contour?

It is not at the end of the upper radiator hose. Please don't follow the first person answer.