What is your motherboard (make and model)? Some motherboards require to manually install the ethernet controller driver. It's also very important to mention if it's a problem that just started recently or a new computer that never had ethernet working.
And how are you connected? You should write a diagram like this:
modem->cable->wifi router->cable->PC
If you go to settings->Network & Internet->Ethernet, you should see the details about your ethernet adapter. If you don't see anything there, then you likely have a problem with the ethernet adapter on your motherboard (or you need to install the driver). If you see the details (most likely a Realtek controller) then the problem could be as simple as a bad cable. You could also go to settings->system->troubleshoot->other troubleshooters->Network and Internet and click on "run". Windows should tell you why you cannot get connected.