Certified GKH Gardening Expert
Most blackberries will be pruned twice per year. The large pruning will be done during late summer to winter, or as the growth slows down for the year. The smaller tip pruning will be done in Spring to mid flowering, to promote better fruiting.
This article will help: https://www.gardeningknowhow.com/edible/fruits/blackberries/blackberry-pruning.htm
Blueberries are best pruned during dormancy, or early Spring at the very latest.
This article will help: https://www.gardeningknowhow.com/edible/fruits/blueberries/blueberry-plant-pruning.htm