Except prunus which should be done in April to July - prune them in winter and they can get silver leaf. Also apple and pear trees can be pruned in summer to tidy them up - winter pruning is more vigorous.
It’s a good idea to look up pruning on somewhere like the RHS website as it varies from species to species.