I plug the camera into the switch but it doesn’t turn on.

Make sure you are plugging the camera into a recommended PoE switch that has a 15w output/port, or use an external power source directly to the camera.