How do i stop my enemy from not colliding?

So my enemy has a Box Collider on but it goes through my character. The collider is set to isTrigger but that doesnt seem to affect it. Could someone please tell me how to make my eney touch me rather than go through me.

If you don’t want to go throught your character you must add a collider to both objects (player and enemy) but without isTrigger.

Be sure to add the right collider depending if it is a 2D or 3D game.