How to stop character not passing throught Gameobjects

I have a character …i am using several object…inside a Plane(ground)…like bench,tress etc…i want to stop character not passing …
through these objects …i am using capsule collider but it is not working … is there any solution? to stop character not passing through…several…object …

How are you moving your character?

Do the objects have colliders assigned to them?