If the thermostat is stuck in closed position, the coolant will not be able to cool down. Therefore, you won't be able to drive too far without overheating the engine. Around 2 miles is doable. If the thermostat is stuck in open position, then you can drive it normally if the weather is not too cold.