Garlic produces natural compounds that have strong antibacterial properties. However, this compound is only present in freshly squeezed, peeled, or cut garlic. Therefore, either cut a piece of garlic and dab it onto your gums or make a garlic paste that you can apply to your gums.