I have no internet on my computer?

My router has internet and my iPhone has Wi-Fi but when I go on my computer it says that's there's no internet connection but I'm using the same internet connection right now on my iPhone and It works please help I have to type a paper and can't do it with out internet

1. Make sure everything is plugged in correctly. Ethernet cables should make a click sound once they have been inserted completely.
2. If your computer is using Wi-Fi: Make sure your Wireless adapter is ON, and make sure you are connecting to the correct wireless connection.

If this didn't help, consider this:
Did you ever yank on the ethernet cord while it was still plugged into your computer? Your LAN card could be broken.
Do All of your ethernet plugs on the router work? Do the front #s light up when ethernet is plugged in?

Have you downloaded any shady software in the past? Some viruses disable LAN/WAN. You could check in Task Manager for a shady process, or do a virus scan in safe mode.

You most likely have disabled the built in Wi-Fi.
Press the function key with a Wi-Fi symbol on it or enable it in your computer.