Problem with friction

how would I make something spinning in the air come to a stop? I am making a rocket simulator and the rockets wont stop spinning after I turn them

You can read the angular velocity from the rigidbody, multiply it by some dampening scalar, like 0.99 and apply back on the rigidbody. That should slow its rotation down by 1% each frame.