First, a little bit of chemistry. Coffee is full of oils and other properties that begin to dissolve and extract when they come into contact with water. Some molecules are more volatile than others and begin to dissolve first. This means that coffee is extracted in a predictable way and therefore we can control the amount of elements in our drink. In simple terms, extraction follows the following order: first, the acids dissolve; second, the sweet flavors; and finally, the bitter compounds.
As you can imagine, the amount of time we leave the water in contact with the coffee is a key factor in the final result in the cup.
But then, how does it affect how fine or coarse my coffee is ground?
The finer the coffee is ground, the easier and faster it will be for the water to extract all the properties.
How do I determine how fine or coarse I should grind my coffee?

There are several factors to consider, such as the roast, bean density, and the extraction method I am going to use. Assuming you have good quality coffee in your hands (hopefully ours), we are going to focus on the Method or the machine you are going to use to extract the coffee.
Each method has a different design and exposes the coffee to the water in a particular way, so the grind must be specific to each one. Let's review the most common methods (according to us):
Espresso machine
The espresso machine works with pressure and needs a fine grind (similar to salt grains), to extract a properly balanced coffee in an average of 30 seconds. A very coarse grind will make the water fall very quickly and not spend enough time in contact with the coffee to extract all its properties. A very fine grind will make the water “pool” and extract too many bitter components from the coffee.

Moka Pot
The Moka Pot or Italian coffee maker works similarly to an espresso machine, using pressurized water to extract the components of the coffee. It also requires a fine grind, although slightly coarser than the grind of an espresso machine.
V60 and Pour-Over Coffee Maker
Both are drip methods that use a filter so that the coffee does not pass into the final cup. The water falls over the coffee and extracts it as it falls into the carafe. This method needs a medium grind. Fine enough so that the water does not fall too quickly into the cup and manages to extract all the properties, and coarse enough so that the water does not pool and over-extract the drink.

French press
One of the simplest methods there is. This is an immersion method, where we let the water rest with the coffee and then lower the press to filter the extraction of the ground beans. This method needs a medium-coarse grind to prevent the fines (the small coffee residues) from passing into the cup when the press is lowered and served. When those fines pass into the cup, they continue to extract, adding more bitterness to the extraction.
Now that I understand a little more about the grind, what do I do with the other variables for a perfect coffee?
That is another longer conversation, but for now, you can find here our basic recipes with the different extraction methods so you can experiment at home.