You’ll need to connect to iTunes and restore it back to factory meaning you’ll lose everything on it.
open