How do you get your footer to stick to the bottom?

I thought this would be an interesting question. I’m sure it is probably dependent on a few factors, but I’ve always had problems with this problem. I’m curious how you guys do it.