Let it cool fully, naturally; cover it, and it should last three days, but be sure that your fridge is set to a cool temperature. When reheating, it must be brought back up to the temperature at which it was cooked. It may last longer, but I would not be risking it.
EHO guidelines is 3 days under refrigeration. Then freeze. Defrost under refrigeration for 24 hours. Then eat within 3 days. When you freeze the product you kill all the bacteria. Do not refresh though.