Most common switch's the positive is white wire and ground is black. On the switch the positive is copper or brass colored.Unscrew wire's and replace.Turn of the electric first.
More information is needed for this question. You needed to know where the engery source is coming from and also where on the circuit you are before doing anything.