Make sure you buy good quality coffee beans and know when the coffee was roasted. It should be written on the bag or at least told by your supplier when it was roasted. Coffee is at its best within 4-8 weeks of roasting. Invest in a good coffee grinder (not the cheap blade grinders). Coffee oxidises quickly after it is ground and you need to be able to adjust the grind size depending on brew method and ratios.