To safely store your garlic and infused olive oil, keep it in a glass jar (plastic absorbs a lot of the flavor otherwise) and place in the fridge. Do not leave cooked garlic or infused oil to sit on the counter as this promotes potentially unsafe conditions for food. Store in the fridge for up to a week or freeze as well.