Unfortunately, you can't. Any lender is going to want to see a good credit score, so they know you're a good risk. But you can work on repairing your credit. Talk to a lender and see where you're at. They will be able to advise you on what you need to do to get your credit score back up. Pay off your debts is a good starting point.
Keep in mind that buying a house involves more than just having good credit. You'll need to show good income, steady employment, low debt, and money in the bank (for down payment & closing costs). Good luck!