A good thing to do is to write something in a text file and immediately save it before you even start writing. That has saved me a lot of headaches AND heartaches.
__________________
Psalm 119:105 Thy word is a lamp unto my feet, and a light unto my path.