The property was sold at a foreclosure sale. The Bank likely was the highest bidder. After the sale you have 10 days to object to the sale. At the sale the court issues a certificate of sale. After those 10 days, if no objection is filed a certificate of title is issued. Then it is usually game over.
Please consult an attorney. This is not legal advice. Just a response to a generic question. Each situation is different and requires an attorney to analyze the facts, law and application of the facts to the law.
If you have an interest in the property and you were joined as a defendant in the foreclosure action, you will have to negotiate with whoever took title through the certificate of title if you want the property. If you were not joined in the foreclosure action and you have an interest in the property, you may be able to set the foreclosure aside. You should contact an experienced real estate lawyer in your area to discuss your options.
Disclaimer: This answer is provided for informational purposes only, does not constitute legal advice, and does not create an attorney-client relationship. Actual legal advice can only be provided after completing a comprehensive consultation in which all of the relevant facts are discussed and reviewed.