You need a router. The cable modem connects to the modem's uplink port and the switch can connect to any available port on the router. This wll enable any computers connected to either the router or the switch to access the internet.
Through a Wireless Access Point/Gateway/Router.
U can connect ur switch w/it's 5 wired pcs to the Router and ur wireless pcs to the router.