There are a few things you can do to deter rodents from taking up residence in your home. First, make sure to seal any cracks or openings on the outside of your house - mice and rats can squeeze through remarkably small spaces. You can also try using rodent-repellent plants like peppermint, catnip, lavender, and lemongrass around the perimeter of your property. Mothballs are another popular deterrent, but be careful not to use them indoors as they're toxic to humans and pets. Finally, you can always try setting traps - just be sure to check them regularly so that any caught animals don't suffer needlessly.