First, back up all your files and photos to an external hard drive. Then, reset the laptop to its factory settings.Finally, remove any personal data.