How to destroy a rigidbody

I am trying to destroy a rigidbody after I do what I want to do with it to stop the rigidbody from making lag.

I have tried this:

Object.Destroy(GetComponent<Rigidbody>());

and this:

Object.Destroy(Rigidbody);

but they come up with errors

can someone tell me how to destroy a rigidbody the right way?
THX

If you want to destroy the rigidbody on Object, then you need to use

Destroy(Object.GetComponent<Rigidbody>());