Many people might panic, when it comes to upgrades, but Debian is one of the easiest Linux distributions to upgrade.
The easiest way to upgrade Debian to a next version is to open the file called sources.list:
sudo nano /etc/apt/sources.list
Now that you have that file open, replace all bookworm(s) to trixie and save the file.
Then run the following commands:
sudo apt update && sudo apt upgrade
Then run the following command:
sudo apt full-upgrade
Note: this (mostly) worked on our local Virtualbox Debian installation and to our VPS.
For Raspberry Pi, you might be interested in these links: