Garlic can help repel the mosquitoes and so, you may consume it to prevent getting bitten by fleas.