Look at trees and shrubs close to your home, and prune back any branches that have grown within 5 or 6 feet of your walls or roof. This helps prevent roof rats, mice, squirrels, and raccoons from gaining entry to your roof area. These pests often find or create openings, and build nests in attics and other areas.