In some situations, such as your example, it's possible to use either one. I'm guessing you've already found the rules which explain when you can only use one and not the other.
When "would" is used to mean a habit in the past, you can understand it as a *predictable habit* ("will "for predictions remember, and here we have the past form).