What are you trying to do?
If you want to stay in after foreclosure, you need to be current with your rent to avail yourself of the right to continue your tenancy under the Protecting Tenants at Foreclosure Act.
I suggest looking for adequate housing.

