If HUD accepts a bid you’ve made, you’ll have 15 days to conduct inspections and terminate the contract if an inspection reveals serious issues that were not previously disclosed.
If you meet these terms, you’ll still be able to request a refund on your earnest money deposit. If you terminate the contract outside of these terms, you’ll likely forfeit any earnest money you’ve put down.