If your iPhone is showing a black screen that never goes away, you should try resetting it or putting it into recovery mode.
DFU mode can help you recover your iPhone or iPad using a computer.