You can reset the network settings on your iPhone by navigating to the "Reset" menu in the Settings app.
DFU mode can help you recover your iPhone or iPad using a computer.