The rule of thumb is to "Keep hot foods hot and cold foods cold." This means leaving hot food on the grill or in a warming dish until it's served and keeping cold foods like salads fresh and clear of bacteria by using ice blocks inside coolers or large tubs.