Always remove the thermostat prior to flushing the cooling system.
Various methods and equipment may be used for flushing. Follow the manufacturer's instructions if using special equipment such as a back flusher.