Go to Settings > Privacy & Security > Safety Check, and then choose either Emergency Reset or Manage Sharing & Access, ...