Hittest, Ground

I was looking at the mario topic and made my guy jump, but when he jumps he keeps falling and doesnt stop. So how would I make him stop falling for when he hits the ground?