If you do not get approved for a loan all is not lost! You might have to push your timeline back but you can still get into a home.
Lenders look at three things to determine your “loanability”- Credit Score- Debt-to-Income ratio- Down payment
Each of these things can be improved it just might take a little time! Let me know why you weren’t approved so we can take a look at it and get a plan together!