To make a perfect cup of coffee at home, use freshly roasted and ground beans, the right water temperature, and the ideal coffee-to-water ratio for your brewing method.