Hello, I'm a mortgage professional.
With a 580 credit score you can qualify for an FHA loan. You would only need 3.5% down and your even allowed to roll closing costs into the loan using a sellers concession.
I can explain more.
If you have any other questions or would like help with this you are welcome to get in touch with me.