Best way to build a breastmilk stash?

I plan to breastfeed my baby due in December, but I also want to use bottles. I would like to build up a big stash of frozen breastmilk, just in case I decide not to breastfeed anymore(or can't). Im not 100% certain I want to breastfeed for very long. I at least want to try though and maybe build a stash in the process. Also to save on formula if I decide to stop. Thanks!