I was wondering if there were a few different ways of collision, and how to go about doing it...

My goal for collision, for now anyway, is for the character to be stopped by a box that lies in the way....right now it just goes through it. How would I go about making it more realistic, such as not being able to go through it?