To recover data after a blue screen error, use File History or OneDrive. File History backs up files to an external or network drive. OneDrive syncs files online and across devices. Set them up before the error. Go to Settings > Update & Security > Backup and select Restore files to restore files.