Attack a pest problem at its source. When you have problems with pests, be sure you are not providing them with food.
Excess water and food are two reasons they may find your home attractive.
If you are being bothered with mice and rats, it is time to set traps.
Most rodents are attracted to peanut butter. Take a small bit of peanut butter and roll it into a tiny ball and place it on a mouse trap to tantalize rodents with the scent.