if it is an iOS issue, put your device into recovery mode and update using iTunes or macOS Catalina finder. Last resort is to restore the device. You can also take it to Apple store for hardware diagnostic but what the rep will do is update using recovery mode. Have you updated it to the latest 13.1.2?