You have now disclosed that both you and your spouse are on title. Both you and your spouse, or just you or just your spouse, can consult with an attorney and follow their legal advise. Time is of the essence. Once the time evaporates your options are gone. If only one of you is motivated to seek legal advise then go.
Apparently, up until this point you thought that this situation was going to go away. It is not. It is real and your end consequences are real.
you really do need to consult an attorney; however, if your house has been forclosed on saving your house is not an option. Once the court awards your home back to the bank, the house is no longer yours. It is like a car that gets repossesed, it no longer belongs to you. If the property is up at auction, then that means there is an auction date set. it is very complicated without knowing more specifics, however the law give you the right to save your home up to the point of actual foreclosure and there are various remedies to do so.
This is a tough situation and it is hard for everyone involved. Understand your rights as a homeowner and if you consult an attorney (which is highly recommended) make sure you know where your house is in the process. If it has been foreclosed on, you would have been evicted. if it just has an auction date set, that means they are waiting and anticipated the court to award the foreclosure. If that foreclosure has not happened, you still have a chance to keep you home.