how to make crosshair move slightly

I want to make the crosshair move in my fps game. I would like it to move slightly in random directions like a person was holding the gun (a person can't hold a gun perfectly still). How can I do this?

You could use the function Random.Range to calculate the x and y values in screen space or x and z values in 3D for transform.position and then use Mathf.SmoothStep or Mathf.SmoothDamp to make smooth transitions.