my player go through walls

Hi, my player goes through the walls how can I fix this problem ? and if this script can fix it, if yes how can I use it ?
http://www.unifycommunity.com/wiki/index.php?title=DontGoThroughThings

select your level, add a mesh collider.