The magic button is to acknowledge the fact that you are probably getting divorced. You need to prepare yourself for this outcome. You also need to be prepared for a reconciliation. That's why it's called 'lovingly' detach. Think thru where, what, how, when and why your life will be if divorced.
M22,H45,W45 S21/18D12 Retain faith that you will prevail in the end, regardless of the difficulties and at the same time confront the most brutal facts of your current reality, whatever they might be.