Cooked ham is good for up to 4 days in the fridge in an airtight container.