To get the most health benefits from garlic, let it sit for about 10 minutes, after cutting and before eating or cooking.
Waiting 5-10 minutes allows the health-promoting alliicin to form. If you do not let it sit, alliicin is never formed, so it is worth the wait.
Source: Why chopping garlic is important