I recommend that you lease a home or apartment while you establish some credit, if possible. Go to your bank and ask them about the best way to get started such as a secured credit card.
Keep in mind that you'll need at least 3.5% in cash for a down payment in addition to (typically) 2x your estimated monthly mortgage payment in the bank in order to meet the minimum requirements for a loan. This would be in addition to having a credit score in the mid-500s and steady income that will cover the monthly payment 3x.
Brent Rice, Trulia Top Recommended Broker (Pro & VIP)
The Rice Group, Inc.