Can you put garlic under your arms to stop underarm odor?

You can put garlic under your arms, but it will not stop underarm odor. It will create the unpleasant smell of pits AND garlic.