How to choose randomly between two options?

When the object is clicked I want it to randomly choose between either vector.left or vector.right

how do i write this in my code?

Sorry if it seems obvious i’m new to this.

Thanks

private void OnMouseDown()
    {
           rb.AddForce(Vector2.up * force, ForceMode2D.Impulse);

           rb.AddForce(Vector2.left * force, ForceMode2D.Impulse);
           rb.AddForce(Vector2.right * force, ForceMode2D.Impulse);
           //Debug.Log("working");
    }

if( Random.Range(0, 2) == 0 )
rb.AddForce(Vector2.left * force, ForceMode2D.Impulse);
else
rb.AddForce(Vector2.right * force, ForceMode2D.Impulse);

(Note the different behavior of that method when passing int or float values)