A switch controls the flow of current by either completing or breaking the circuit. When the switch is closed, the circuit is complete, and current flows. When the switch is open, the circuit is incomplete, and current stops flowing.