Start by looking at what malt(s) you use the most of, usually base malt(s). Look at what recipes you brew at what time of year, how many times each, and therefore how much of each grain type you anticipate using in the coming X months.
Then try to coordinate your purchasing around that.