Blender 2.79 closing by itself | Blender 2.79

I was almost finished with my project in blender 2.79, and my blender closed by itself and I didn’t save my project yet, and when I go back to blender, everything is gone, nothing saved. I don’t want this to happen again!! I was so frustrated, is there any ways to fix this problem? Please help!