How to stop the movement of rigidbody permanently after hitting collider

in my game rigidbody is not moving after hitting collider but when i am giving swipe event on the collider then rigidbody also start to moving…but i want to stop the movement permanently after hitting to the collider of rigidbody…what i have to do??

Change the rigid body type from dynamic to static should work.