Most often, nurseries will sell blackberries and raspberries as rooted canes. These are best planted in the fall when the weather is nice and cool - and the plant is dormant.  Planting also works in some areas with moderate winters and also the early spring. But, you want to be sure not to plant too early when harsh weather might kill off a young plant or too late when intense heat could stress them.