thermostat gasket leaking

The best way is to toss it and after making the surfaces flat and clean, get an o-ringed thermostat housing.