There are steps you can take that if not prevent a foreclosure at least delay it. If no valid counter claim or defense is available a delay can give your family some breathing room to perhaps get your finances in better shape, sell the house at a fair price to cover the mortgage or give you time to find another home. Whatever you do don't ignore notices and court forms and paperwork that come your way.
Just like everyone else attorneys can be sued, sometimes by their own former clients. These cases cover negligence by the attorney, a breach of fiduciary duty owed to the client or a breach of contract with the client. Like any other kind of lawsuit you should find the right attorney for this type of case who you have confidence in and who you feel comfortable with handling your case.
If your business is a partnership you and any other partners share ownership and responsibilities for running your company. Ideally you should have a well drafted partnership agreement that covers any number of potential issues the partners may face. One issue that may or may not be covered is what happens to a partner's interest in case he or she gets divorced.