Read all about it at the Proxmox web site. If you're running 8.0, it's an easy upgrade. Edit your Debian source files (ex. /etc/apt/sources.list) and change any occurrence of "bullseye" to "bookworm". Then run "apt update" and then "apt full-upgrade"...