how to make rocket face right direction when lunched

i have a simple gun that shoots rockets, when the rocket is lunched its always facing forward even when i turn to the side or back its always facing forward anyone know how to fix it

If the rocket is arcing, then the simplest way would be to have it face its velocity.

transform.forward = rigidbody.velocity;

or if you are shooting a rocket straight, then you can rotate the rocket when you spawn it to face the same direction as your character.

//var rocket : Rigidbody = Instantiate() as Rigidbody;
rocket.transform.forward = shooter.transform.forward;

Without knowing any more than that, it is hard to give you any more specific suggestions.