Open the blocks without opening a block with a mine. After you open a block , a number will be shown indicate the number of mines in the surrounding blocks.
?How to play Hex mines
Left click to open a block.
Shift + click to put a flag on a block , if you think there may be a mine.