Stick up 3rd gen camera

Infrared ony stays on for 2/ 3 seconds then switches off for a few seconds then back on …and keeps repeating?