Open every safe cell without opening a mine. A number tells how many mines touch that cell. Right-click, or turn on Flag mode and click, to flag a suspected mine.