Question: how do you know if you have rats or squirrels in your attic?
Answer: If it's a hole maybe 2 inches in diameter with chewing around the perimeter, that's squirrel. If it's small gaps, perhaps with brown grease, that's rats or mice. Read more about inspecting the house for animal holes to determine the sort of wildlife entering the building.