Hire an experienced divorce attorney. Ideally, this person will emphasize mediation or collaborative divorce over litigation.
Open accounts in your name only.
Sort out mortgage and rent payments.
Be prepared to share retirement accounts.