Arduino motion sensor camera

how do you connect the camera to the arduino at all? & how do you connect the camera to the motion sensor & make the sensor trigger the camera's on/off settings?