How do you get to your router from your computer?

Typically, one of three ways:

An ethernet cable, which is the most common. Merely connect an ethernet cable to your computer and the router.

A USB cable, less common. Same connection.

A Wireless system (WiFi), becoming widespread. Requires WiFi antennas on both the router and the computer.