high bush cranberry fruit
The flowers and fruit are borne on old wood. If pruning is needed, do it soon after flowering. Of course if you want fruit, avoid removing stems that have flowered.
If you plan to consume the fruit, be sure the shrub in question is an American cranberry bush and not its almost ubiquitous European cousin. The fruit of the latter is distasteful and virtually inedible.
The following may be of interest: