I need help on changing the rotation of the object using rigidbody.rotation.

Is there a way how to make the object rotate in different direction…
The object is rotation is different direction… pls. help

rigidbody.rotation = Quaternion.Euler (euler.x, 180, rigidbody.velocity.y * tilt);

What?

I was trying to make object tilt while pressing the up and down arrow ( like the gradius spaceship). But every everytime I press the up and down the rotation of my object is different.The spaceship is turning left and right.