Thanks for your question.
If you scores are below 600 it will be tough but still doable.
Your Credit score determines how Effectively do you handle Credit and
A low score flags a Bank that you miss payments, late many times, or
You do not meet your monthly obligations.
Hence, you Rate for loan can be higher or it will be very tough to get a loan.
When you buy a home with a loan, there are many other components, such as
Paying taxes, mortgage interest, utilities, property maintainence, yard care etc.
Along with insurance.
Talk to a good local mortgage banker to see what can be done.
Prudent to maybe address the issues associated with improving your credit.