Some information about your setup would be helpful, however the easiest way is to simply connect your monitors to your video card instead of your motherboard. If that doesn't solve the issue go into your BIOS and disable your integrated graphics.
If you're on a laptop, you probably don't want the RX 580 being your default card. Instead they're designed to kick in whenever you start a game.