Add garlic to your diet Also, it contains an important compound known as allicin that protects your kidneys and liver from the potential damage of antibiotics. Adding garlic to your diet and taking a daily supplement of 500 mg is a helpful way to detox your body from the harmful residue of antibiotics.