The question

I file bankruptcy twice and dismissed them both. Now my home has a foreclosure sale. Can I reinstate my bankruptcy case?