You must first determine your Internet access method, but if you want to directly connect the network cable to the switch, you can connect as soon as you connect it.
Of course, it also depends on the function of the switch. 99% have DHCP. If not, you can set a static IP (remove the automatic IP acquisition of each computer and select manual IP allocation)
IP address: 192.168.1.X, subnet mask Code: 255.255.255.0, gateway 192.168.1.1, no need to fill in the others
X starts with 2, and the X of each computer can be from 2 to 254, but it should not be the same, and then you can connect