Reinstatement. You can reinstate the mortgage by curing the defaults and paying the costs the mortgage requires, without paying the accelerated balance, if you do it within 90 days of the date you, and every other borrower on the loan, were served with the summons or by publication. When a mortgage is reinstated, the foreclosure is dismissed and the mortgage continues as if there had been no default. If a court has made a written finding that you used this right, it isn't available again on the same mortgage for five years.
Redemption. For a house that was residential when the case began, the redemption period ends on the later of 7 months from the date all the borrowers were served, or 3 months from the date the judgment of foreclosure is entered. The court can shorten it, for example when it finds the property abandoned. The amount to redeem is the judgment amount plus the costs the statute lists, and you have to give the lender's attorney written notice at least 15 days, not counting weekends and court holidays, before the date you choose. Once the redemption period expires, the statute says it can't be revived.
The sale. The house is sold at a judicial sale after the reinstatement and redemption periods expire. The notice of sale has to be published once a week for at least three consecutive weeks, the first no more than 45 days before the sale and the last no less than 7 days before it. After the sale, the court holds a hearing and confirms it unless notice wasn't given, the terms were unconscionable, the sale was fraudulent, or justice otherwise wasn't done.
Those are the statute's periods, not your dates. Your service date, judgment date, and sale date are in your court file. Have your lawyer or a housing counselor read them with you before you decide anything.