How to Build an Emergency Fund

You know you need an emergency fund. But how do you build one?