If you have a garden or other landscaping around your home, seal any gaps or openings outside your home to prevent animals from getting in in the first place. Consider using humane deterrents, such as motion-activated sprinklers or ultrasonic devices, to prevent animals from entering your yard or home.