There are several ways to back up your data.
Go to “Settings”->Touch “System”->Touch “Backup” -> Touch “Turn on” in the window which has now opened ->Touch “Back up Now. You need to add your Google account details first.
You can back up your data to another phone via the “Switch Phone” app, and then recover data when your phone has been repaired.
Swipe up in the home screen to find the search bar->enter “switch phone” ->Transfer the contents by following the instructions.