My work got deleted and went back to 3 days

My work got deleted and went back to 3 days. I made 4 more screens and components.
Now it’s not there anymore. How to fix it? Will it happen again in the future? What can I do to save my work?