Car game, Collision with the obstacles?

I’m creating a car game. i managed to get the car moving and all, but i dunno how to make the car collide with the obstacles when it hits it.

How do i make it such away that if the car overlaps the kind of obstacle i want, dont have to be simple shapes but mostly oddly shaped obstacles, it would stop. that’ll be good.

thank you!