How to add collisions

How do you add a collision to any object? For the player to not fall or walk through.

Add some type of collider using the Component -> Physics menu.