Flasher?

It's own light reflecting back into the photocell? Cover up the "eye" and see if it stops flashing. But if its flashing more like a strobe light then it's just going bad.