Food, water, and shelter attract rodents. Keep your home clean, store food in sealed containers, and repair leaks.