Post the required information please:
https://community.amd.com/t5/knowledge-base/information-required-when-posting-a-discussion/ta-p/4227...
i5-9400F RX 580 16GB RAM.
If this is not a laptop, you select your graphics driver here:
https://www.amd.com/en/support
Then what do i do? It's not a laptop of course.
What do you do? You download the driver for your OS and install it. Of course.