If resetting your router doesn't fix your issue, restart your iphone (turn it off and on again).
Next option: reset network settings in Settings - General - Reset. Add your Wi-Fi again afterwards.
Also make sure your router is up to date, and supports your iDevice.