The switch interrupts the hot side of the circuit. Bring the hot wire, usually black, to one terminal of the switch. The other terminal continues to the device to be powered.
A single pole switch has only two connection points. you cannot screw this up. Connect one wire to one connection and the other wire to the other connection