First make sure the car has coolant , then make sure the fan is running and most of it no leak. If all of those are ok, you must replace back the thermostat, and if all that doesnt work try bleeding your cooling system there maybe a trapped air.