During estate settlement, debts and expenses must be prioritized according to state laws. Generally, funeral expenses, taxes, and secured debts take precedence over unsecured debts like medical bills.