Thank you, we had a foreclosure 2+ yrs ago on a investment property that was discharged in the bankruptcy. I was trying to decide if I would be able to refinance or would I be able to sell my current home and get a mortgage on another home. It will be 3 yrs in May 2019.Depending on the down payment - some programs will allow you to buy a home One Day out of Foreclosure & Bankruptcy. You're not going to be able to get a loan through from a traditional lender like Quicken or Wells Fargo. You'll need a non-traditional "alternative" or "non-qm" mortgage.
Eric Sandstrom would be able to go over your options with you. But... establishing credit is your best hope. Get a CreditKarma account and a few secured or unsecured credit cards. Keep the credit utilization low, and work on your credit report.