How do i rotate an object using WASD?

So, i made this script:

{

public float speed;

private Rigidbody rigid;
// Start is called before the first frame update
void Start() {
    rigid = GetComponent<Rigidbody> ();
}

// Update is called once per frame
void FixedUpdate() {

    float Horizontal = Input.GetAxis("Horizontal");
    float Vertical = Input.GetAxis("Vertical");

    Vector3 move = new Vector3 (Horizontal,0.0f,Vertical);

    rigid.AddForce (move * speed);

    
}

}

and i want to know, how do i rotate the object, the object is a Capsule and it’s using rigidbody, please help me.

You can do exactly what you did for movement, but use AddTorque instead of add force