3ds How to recover lost data?

Hello friends..
I am pretty new to Nintendo world. Last night I was attempting to do something on my DS last night and accidentally lost all the data. Does anyone know how to recover the lost data?

I appreciate any assistance you experts can provide.
Last edited by a moderator: