Phasers and Light Beams

I’m new to the forums, and I hope someone can help me. I am working on some starship battle scenes, and want to know how I would animate a laser beam using keyframe animation. Is there a way to turn the lighting off and on, or just have the beam show up in one set of frames? Anything would help me, I greatly appreciate your time. Thanks.