Which iPhone model do you have?
OTA update:
1. Connect iPhone to wall power
2. Must be connected to the Internet using Wi-Fi
3. Must have at least 7 GB available on iPhone
4. Settings > General > Software Update
otherwise you have to borrow a computer.