iPad restant bug (iPadOS 16)

About once a week my iPad has a restart bug (it restarts on its own and turns it back on) others we had this bug and how to fix it?