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 7 3700x, Asus Tuf Gaming RX 6700 XT, Asus TUF Gaming x570 Plus, 32gb G.Skill TZ neo 3600mhz, Samsung 980pro 1tb NVME, Samsung 970 EVO Plus 1tb NVME, Lian Li Galahad AIO 240mm, Antec Titanium 1kw.