Use an appropriate tool to clean up any corrosion from the face of the thermostat cover and the housing (still attached to the engine) to help it seal better.
Install your new thermostat and the included gasket. The gasket should slip over the edge of the thermostat before it is installed.
Now refill and bleed your cooling system as [invalid guide link].