Dead, Damaged Trees Both Eyesore & Safety Hazard

If you have a dead or dying tree on your property, it's not just an eyesore, it can be a safety hazard too. So when is the best time to remove a tree?