If you filed Chpt 7, you will have to wait 2 yrs from your discharge date and reestablish credit before you buy a home.
With a Chpt 13, you will have to reestablish credit and wait 1 yr from discharge date.
Hope this helps!
Laura and Jason
Selling homes for a decade!