Electrical Questions? Ask an Electrician Online.
Hi, I'Mike G and I'll be assisting you. Either tell me how you connected the switch or better yet send a picture of the wiring in the box.
One of the black wires is to the light and is terminated on the switch. The other 2 connect together with a jumper wire that connected to the second termination on the switch. A voltage tester would help in identifying the hot wire and the wire to the light when touched to the hot would identify it.
We all have those days.