In most cases when a property is inherited by multiple people, all of them need to agree before it can be sold. If the property is still part of an estate going through probate, the executor has authority to sell estate property to pay debts or distribute the estate but is expected to act in all the beneficiaries' interests. Once the property has been distributed and the heirs hold it as co-owners, every co-owner needs to be on board with a sale.
When agreement cannot be reached, any co-owner can file a partition action in court — a legal proceeding that can ultimately force the sale of the property with the proceeds divided among the owners. Partition actions are costly, slow, and often permanently damage family relationships. Having early, honest conversations among heirs about everyone's options and intentions is the single best way to avoid that outcome.