How do you replace the thermostat located on a 1999 Ford F-150?

Follow the upper rad hose and at the engine is the housing that houses the thermostat. When replacing it make sure the spring goes toward the engine.