How to slow down a cart upon collision?

I’m trying to make the cart in the educational coaster preset slow down upon colliding with another object, but I’m not sure how. If you know how, please let me know!