- Please make sure
– You are backed up (Settings > System > Backup).
– Your pictures are backed to Google photos or some other backup system.
– And you remember your google password .
– Read the post below. - Then do Factory reset (Settings > System > Reset options > factory reset)
If touchscreen is not working or broken, then follow Erase User Data (aka Factory reset) Without Touchscreen.