Setting rigidbody's force to 0

I’m using a rigidbody.addforce for player movement, is this possible to set it to 0?

Not sure exactly what you are asking.

To add no force to the player use RigidBody.AddForce(0)

To stop the player moving set RigidBody.velocity to zero

To eliminate all forces acting on a player then set RigidBody.velocity to its value on the last frame