We can’t provide a single solution because we don’t know what is causing your dropouts. You will have to troubleshoot first.
If the problem is a corroded cable connector somewhere in your neighborhood, you have to call your cable company to find it and fix it.
If the problem is a new microwave oven that’s putting out interference, then run wired Ethernet.
If the problem is an overheating power supply for your router, replace the power supply and move it somewhere cooler.
If the problem is a roommate hogging bandwidth with uploads, tell him to use some of the money he gets from OnlyFans to pay for a better internet connection.
So, it depends.
Test the jack first without the router. Plug a laptop or something into it. Does it get an IP address? What’s the address? Can it go out to the Internet from there?
Test the Wi-Fi for your router. Can you ping the router’s IP address? Can you log into its management interface?
No? Try plugging into the router directly with an Ethernet cable, and repeat.
Come back after these troubleshooting steps and you might get some useful advice.