Since coffee grounds are very potent, it's a perfect repellent to fight off those pests. According to the EPA, coffee grounds are most potent when they are burned. All you need to do is place the coffee grounds in a bowl on a flat surface outside, and burn the grounds like you would incense.