Raspberries and blackberries both grow canes, and the canes only bear fruit for a year. Before being cut, or dying back.
Raspberry canes will benefit from being tied to a wire at about 3ft high, but it is not essential if you don't mind a floppy plant. Your second year growth will likely be more robust and vertical,
Blackberry canes can be pruned back to around 3ft, and they will branch and make more fruit as a result. Again, they don't need tying in, but it can help keep them tidy.
In both cases, stems that have had fruit
should be cut down to the ground in the winter and new canes will grow in.