Restoring to factory default Samsung A10

My Sam A10 core is being more and more slow. It is said that from time to time is needed to reset. What are the dos and don'ts of it?. What I can get when returning from it? Are files in the memory stick also erased? How do I recharge apps?

Many thanks is advance.
Best regards.