Did you drop the iPhone or damage it in any way?
How did you charge it and did it show a battery icon when charging? You might have to charge it from another device or adapter.
Try the suggestions in this Apple doc -> iPhone: Hardware troubleshooting
- Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
- Check if the Liquid Contact Indicator (LCI) in the headset jack or dock connector is activated or there are signs of corrosion. Learn more about LCIs.
- Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
- After at least 15 minutes, if:
- The home screen appears: The iPhone should be working. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
- The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
- Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
- If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
- If the display turns on, go to step 4.
- If the display remains black, go to next step.
- Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
- If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.