Open all the squares of the board which do not contain a mine. You will lose if you set off a square containing a mine. Every non-bomb square you open will tell you the total number of bombs in the eight neighboring squares. Once you are sure that a square contains a bomb, you can put a flag it on it as a reminder.