How to rotate a prefab?

Hi Unity member and help, it would be useful if one of you guys could help with something i am working on. Currently, i am working on a 3d game and i am coming into a problem when try to shoot the laser. Basically instead of the laser facing forward and going in direction of the player, it will spawn where the 90 or 270 degree with its width facing the player. How would i go about making it so it will face forward? An example of the code being used is below

GameObject Lightening = (GameObject)Instantiate(Lighting, transform.position + transform.forward + (transform.right), PlayerCam.transform.rotation);

That’s easy. Just go into the laser prefab, make a child transform inside of the parent, and move the 3d renderer to the child. Then, rotate the child and when you shoot the laser, the rotation should be offset. Try rotating the child until it matches the rotating.