I built a PC back in 2019 then upgraded to a graphics card a year later. All has been fine (I don't AAA game on it, just general personal and work duties), until about 6m-1 year ago when it would start to occasionally crash, getting slower and now it can't upgrade to windows 11. What bits should I be replacing to update it. Parts listed below. Thank you in advance.
CPU
AMD Ryzen 5 2400G
Raven Ridge 14nm Technology
RAM
16.0GB Dual-Channel DDR4 @ 1065MHz (15-15-15-36)
Motherboard
Micro-Star International Co., Ltd B450 TOMAHAWK MAX (MS-7C02) (AM4)
Graphics
8192MB ATI Radeon RX 580 Series (Unknown)
Storage
223GB KINGSTON SA400S37240G (SATA-2 (SSD)
931GB Seagate ST1000DM003-1SB10C (SATA )