Keep distance
Keep children and pets away from the attic access and any droppings or nesting material. Do not handle an animal or try to corner it.
Don't use poison or seal the opening yet
Sealing an entry while an animal is inside can trap it in the structure. Poison or improvised traps can create additional hazards and may be unlawful or inappropriate for some wildlife.
Call a qualified wildlife operator
In New York, contact a Nuisance Wildlife Control Operator (NWCO) to identify lawful removal options. This is especially important if you see bats; NYS DEC says to contact DEC or an NWCO because some bat species are protected and difficult to identify.
After the animal is out
Ask the professional to advise when and how to repair the entry point. Have damaged insulation, wiring, or contaminated materials evaluated by the right contractor before closing the area.