I made a whole project and I accidentally deleted everthing and saved.
Nothing much you can do in terms of Unity. You can try to use a generic app for restoring deleted files.
But most importantly you should learn to use a version control system such as Git or Hg so this never happens again.