Brake, don't swerve
If there's enough distance between you and the animal, tap the brakes (to warn any drivers behind you), honk, then brake.
If the collision seems unavoidable, don't swerve. Swerving could cause an even bigger accident. Instead, stay in control of your vehicle, slow down as much as possible, and report the accident to the police and your insurer.