While AMD's Ryzen 7 5800XT is its fastest 8-core CPU for users on legacy motherboards, it also happens to be one of the best price-to-performance ratios on offer currently for gamers and productivity ...
If your motherboard has a PGA socket (such as AM4), lower the arm down completely to hold the CPU in place. This will take a little force in either case, so don't be afraid to push down firmly.
Popular cooler manufacturer Noctua has published a full list of cooling solutions that are compatible with AM5, and there are only a couple of incompatible products, the NH-L9a-AM4 and the NM-AM4 ...