Welcome to the forums, newcomer!
I got an rx 580 a few weeks ago,
Used, I presume...? To add, there are a number of AIB's out there, which one do you have?
When posting a thread of troubleshooting nature, it's customary to include your full system's specs. Please list the specs to your build like so:
CPU:
CPU cooler:
Motherboard:
Ram:
SSD/HDD:
GPU:
PSU:
Chassis:
OS:
Monitor:
include the age of the PSU apart from it's make and model. BIOS version for your motherboard at this moment of time.