I had an RX 580 the driver I found most stable is 22.3.1, which is a WHQL recommended driver.
Try that one and don't use the optional drivers, unless you are able to troubleshoot and find solutions.
Use the AMD software uninstaller or DDU to remove traces of AMD and do a clean install.
PC specs inc PSU should be provided, so people can help better.
AMD Ryzen 9 9900x, Asus Tuf Gaming RX 6700 XT, Asus Crosshair X870E Hero, 64gb Kingston DDR5 6000, Samsung 980pro 1tb NVME, Samsung 970 EVO Plus 1tb NVME, DeepCool Mystique 360 AIO, Antec Titanium 1000w.