There are a lot of things that go into your Credit Score:
First of all, you should know that there are programs that do not use the Credit Score, but rather use your Income to Debt ratio: If you have few bills and enough income, you may still be able to do something.
Particularly with the prices we have here now.
I would want to put you in touch with a good Mortgage person and see what they say. They could also get into details about rebuilding your credit.
If you want more, contact me. Happy to help.
Good luck and may God bless