How can i smoothly rotate a gameobject

How can i rotate rigidbody smoothly at a constant speed on the xz plane?

function FixedUpdate ()
{
transform.eulerAngles = Vector3(0, 0, 0);
}

Change the zeros to set the speed of rotation, the FixedUpdate makes sure you get a constant speed