If you do, or already have, be sure to pay your homeowner’s association dues. If you don’t, the HOA can and often will sell your home. You should get normal notices that you are behind with your dues and the HOA or its agent is required to also give you notice that if you don’t pay up, your home will be sold (I’ve had clients swear to me that they never got this notice). The next notice you get will be from whoever bought your home, giving you three days to vacate the premises. You may still be liable on your mortgage, but you’ll be on the street and someone else will own your home.
If you have a lot of money to hire a lawyer, you MIGHT be able to set the sale aside. But don’t count on it.