I had a ASRock b350 and missed the train to upgrade to a 5800x because of the BIOs. If I had a slightly different MoBo I could have upgraded.
Looking for a AM5 board now and putting in a 7600 for now. But looking to see if I can get 8800x3d or hopefully the 9800x3d in 2026.
The socket on your mobo has to be compatible with the cpu socket type.
Also your power supply should be up to snuff for any upgrades.