Don't go through objects

I’m not getting do it. My character move forward constantly. What to do?

Could you elaborate your question, there is not much to tell you without understanding what your problem is.

I clicked in generate collider, added rigdbody and sphere collider but the character still pass through the objects

Wow, I did not except this answer… well did you check that the other objects have a collider too. Are you moving very fast? Did you setup the correct layers (the physic manager has a collision matrix which determines which layer can collide with which other layer).

If you dont know what the collision matrix means, you can read about this in the documentation.