It can be done at almost any time of year and does not change the shape of the plant: it simply removes what is no longer useful or could cause trouble, such as dead wood, where fungi get in, or branches that rub and wound each other.
Diseased branches are cut a few centimetres below the damaged area, disinfecting the tool between cuts, and they do not go on the compost heap.

